aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2017-07-06 16:09:12 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 14:01:28 +0200
commit09954ea9b6d4390555b71b30c5c3b82b6c679cf3 (patch)
treef985caf52092053278f8908c1797e2724fd6049e /tools/perf/scripts/python
parentmmc: mmc_ops: fix a typo for comment of mmc_start_bkops (diff)
downloadlinux-09954ea9b6d4390555b71b30c5c3b82b6c679cf3.tar.gz
linux-09954ea9b6d4390555b71b30c5c3b82b6c679cf3.zip
mmc: mxcmmc: check the return value of mxcmci_finish_data
We got a compile warning for mxcmmc, drivers/mmc/host/mxcmmc.c: In function 'mxcmci_data_done': drivers/mmc/host/mxcmmc.c:661:6: warning: variable 'data_error' set but not used [-Wunused-but-set-variable] The easiest method is to remove the data_error. But looking into the code closely, I think we should check the return value of mxcmci_finish_data as if it got data->error(the same as data_error), we shouldn't try to read the response. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions