summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2022-11-30 16:49:20 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2022-12-07 15:29:14 +0300
commitfc02e2b52389c8fde02852b2f959c0b45f042bbd (patch)
tree2a430a7947f54e5b613476d4a0f468421df6e378 /scripts/generate_rust_analyzer.py
parent04280473b5da4199b1abbac2aa08fd9109e20f82 (diff)
downloadlinux-fc02e2b52389c8fde02852b2f959c0b45f042bbd.tar.xz
mmc: core: Normalize the error handling branch in sd_read_ext_regs()
Let's use pr_err() to output the error messages and let's extend a comment to clarify why returning 0 (success) in one case make sense. Fixes: c784f92769ae ("mmc: core: Read the SD function extension registers for power management") Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> [Ulf: Clarified the comment and the commit-msg] Link: https://lore.kernel.org/r/20221130134920.2109-1-thunder.leizhen@huawei.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions