Re: [patch] dma/mic_x100_dma: IS_ERR() vs PTR_ERR() typo

2016-03-03 Thread Vinod Koul
On Mon, Feb 29, 2016 at 12:51:07PM +0300, Dan Carpenter wrote: > This is harmless because the caller only cares about zero vs non-zero > but we should be returning PTR_ERR() here. Applied thanks -- ~Vinod

[patch] dma/mic_x100_dma: IS_ERR() vs PTR_ERR() typo

2016-02-29 Thread Dan Carpenter
This is harmless because the caller only cares about zero vs non-zero but we should be returning PTR_ERR() here. Signed-off-by: Dan Carpenter diff --git a/drivers/dma/mic_x100_dma.c b/drivers/dma/mic_x100_dma.c index 068e920..1502b24 100644 --- a/drivers/dma/mic_x100_dma.c +++ b/drivers/dma/mic_