summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/tcp.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2022-11-30 21:49:20 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-31 13:32:25 +0100
commit5aebe9ba130a38db914347a397190a8405ae7671 (patch)
tree2c9b3123209798e231e0212741eccd9a5fce1138 /drivers/nvme/host/tcp.c
parent1b3f0b02486b553983c352442e20aded7458decd (diff)
downloadlinux-5aebe9ba130a38db914347a397190a8405ae7671.tar.gz
linux-5aebe9ba130a38db914347a397190a8405ae7671.tar.bz2
linux-5aebe9ba130a38db914347a397190a8405ae7671.zip
mmc: core: Normalize the error handling branch in sd_read_ext_regs()
[ Upstream commit fc02e2b52389c8fde02852b2f959c0b45f042bbd ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/nvme/host/tcp.c')
0 files changed, 0 insertions, 0 deletions