Re: [PATCH] dma-mapping: fix return type of dma_set_max_seg_size()

2018-11-26 Thread Christoph Hellwig
On Wed, Aug 29, 2018 at 11:29:21PM +0200, Niklas Söderlund wrote: > The function dma_set_max_seg_size() can return either 0 on success or > -EIO on error. Change its return type from unsigned int to int to > capture this. > > Signed-off-by: Niklas Söderlund Thanks, applied to the dma-mapping

Re: [PATCH] dma-mapping: fix return type of dma_set_max_seg_size()

2018-11-26 Thread Niklas Söderlund
On 2018-11-02 11:22:54 +0100, Niklas Söderlund wrote: > Hi, > > A gentle ping on this patch. A slightly harder ping :-) > > On 2018-08-29 23:29:21 +0200, Niklas Söderlund wrote: > > The function dma_set_max_seg_size() can return either 0 on success or > > -EIO on error. Change its return type

Re: [PATCH] dma-mapping: fix return type of dma_set_max_seg_size()

2018-11-02 Thread Niklas Söderlund
Hi, A gentle ping on this patch. On 2018-08-29 23:29:21 +0200, Niklas Söderlund wrote: > The function dma_set_max_seg_size() can return either 0 on success or > -EIO on error. Change its return type from unsigned int to int to > capture this. > > Signed-off-by: Niklas Söderlund > --- >

Re: [PATCH] dma-mapping: fix return type of dma_set_max_seg_size()

2018-08-30 Thread Geert Uytterhoeven
On Wed, Aug 29, 2018 at 11:30 PM Niklas Söderlund wrote: > The function dma_set_max_seg_size() can return either 0 on success or > -EIO on error. Change its return type from unsigned int to int to > capture this. > > Signed-off-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven

[PATCH] dma-mapping: fix return type of dma_set_max_seg_size()

2018-08-29 Thread Niklas Söderlund
The function dma_set_max_seg_size() can return either 0 on success or -EIO on error. Change its return type from unsigned int to int to capture this. Signed-off-by: Niklas Söderlund --- include/linux/dma-mapping.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git