From: Arnd Hannemann Date: Sun, 19 Dec 2010 21:16:07 +0000 (+0000) Subject: mmc: tmio_mmc: silence compiler warnings X-Git-Tag: v2.6.38-rc1~418^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eba46030e1727f2af377300b6a55df846fa830f1;p=pandora-kernel.git mmc: tmio_mmc: silence compiler warnings 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. Signed-off-by: Arnd Hannemann Signed-off-by: Chris Ball --- Reading git-diff-tree failed