diff options
author | 2010-12-19 21:16:07 +0000 | |
---|---|---|
committer | 2011-01-08 23:52:29 -0500 | |
commit | eba46030e1727f2af377300b6a55df846fa830f1 (patch) | |
tree | 014a009a8bea602a4ad6a4f7d09d4af6961bfb95 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | mmc: tmio_mmc: implement a bounce buffer for unaligned DMA (diff) | |
download | wireguard-linux-eba46030e1727f2af377300b6a55df846fa830f1.tar.xz wireguard-linux-eba46030e1727f2af377300b6a55df846fa830f1.zip |
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 <arnd@arndnet.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions