Re: [PATCH] mmc: tmio_mmc: silence compiler warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 19, 2010 at 09:16:07PM +0000, Arnd Hannemann wrote:
> with "mmc: tmio: implement a bounce buffer for unaligned DMA"
> gcc generates the following warnings:
> 
> drivers/mmc/host/tmio_mmc.c:654:6: warning: 'ret' may be used uninitialized in this function
> drivers/mmc/host/tmio_mmc.c:730:6: warning: 'ret' may be used uninitialized in this function
> 
> This patch fixes these by setting ret to -EINVAL in the affected code paths.
> 
> This patch applies on top of -rc6 plus the following patches:
>   mmc: tmio_mmc: allow multi-element scatter-gather lists
>   mmc: tmio_mmc: fix PIO fallback on DMA descriptor allocation failure
>   mmc: tmio: merge the private header into the driver
>   mmc: tmio: implement a bounce buffer for unaligned DMA
> 
> Signed-off-by: Arnd Hannemann <arnd@xxxxxxxxxx>

Thanks, pushed to mmc-next for .38.

-- 
Chris Ball   <cjb@xxxxxxxxxx>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux