aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMathieu Malaterre <[email protected]>2018-05-16 21:20:20 +0200
committerUlf Hansson <[email protected]>2018-05-21 10:57:59 +0200
commitb25b750df99bcba29317d3f9d9f93c4ec58890e6 (patch)
tree8c935897ab184a76bea945aaf2c60371f632a8bf /tools/perf/scripts/python/export-to-sqlite.py
parent6da6c0db5316275015e8cc2959f12a17584aeb64 (diff)
mmc: block: propagate correct returned value in mmc_rpmb_ioctl
In commit 97548575bef3 ("mmc: block: Convert RPMB to a character device") a new function `mmc_rpmb_ioctl` was added. The final return is simply returning a value of `0` instead of propagating the correct return code. Discovered during a compilation with W=1, silence the following gcc warning drivers/mmc/core/block.c:2470:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Signed-off-by: Mathieu Malaterre <[email protected]> Reviewed-by: Shawn Lin <[email protected]> Fixes: 97548575bef3 ("mmc: block: Convert RPMB to a character device") Cc: [email protected] # v4.15+ Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions