diff options
author | 2015-01-13 14:31:46 +0100 | |
---|---|---|
committer | 2015-01-13 21:20:10 +0530 | |
commit | 3c20ba5fb5b9e3d5e266bfab316ee10b77da88e0 (patch) | |
tree | 798b9be045fb50fdbf23c3e1deb85da14bb6123e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dmaengine: mmp-tdma: don't include mach/regs-icu.h (diff) | |
download | wireguard-linux-3c20ba5fb5b9e3d5e266bfab316ee10b77da88e0.tar.xz wireguard-linux-3c20ba5fb5b9e3d5e266bfab316ee10b77da88e0.zip |
dmaengine: mmp-tdma: fix terminate_all return code
In a recent cleanup, the mmp_tdma_terminate_all function was
introduced but does not set a proper return value. Almost
no slave driver uses that return value, but if one does, the
result will be undefined, which the compiler warns about:
dma/mmp_tdma.c: In function 'mmp_tdma_terminate_all':
dma/mmp_tdma.c:474:1: warning: no return statement in function returning non-void [-Wreturn-type]
This changes the driver to return zero, like most other
drivers do.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: f43a6fd400ba6 ("dmaengine: mmp-tdma: Split device_control")
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions