]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: sdhci-of-arasan: Check return value of non-void funtions
authorManish Narani <manish.narani@xilinx.com>
Tue, 15 Jun 2021 10:43:54 +0000 (16:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 09:45:30 +0000 (11:45 +0200)
commite3fae5945010f1974d11555bc31e8fefe4ddec71
tree93f95ded6c6e8726e2eb6afb3b09e6469140fd6e
parent3554b46204e67333e1fb8be0e93936fb08267c80
mmc: sdhci-of-arasan: Check return value of non-void funtions

[ Upstream commit 66bad6ed2204fdb78a0a8fb89d824397106a5471 ]

At a couple of places, the return values of the non-void functions were
not getting checked. This was reported by the coverity tool. Modify the
code to check the return values of the same.

Addresses-Coverity: ("check_return")
Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/1623753837-21035-5-git-send-email-manish.narani@xilinx.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/sdhci-of-arasan.c