]> git.baikalelectronics.ru Git - kernel.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)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Aug 2021 08:15:29 +0000 (10:15 +0200)
commit66bad6ed2204fdb78a0a8fb89d824397106a5471
tree0ec15d78e7bbe6e01c10eaf27ca5e1f19bacfd76
parent256e4e4e836ce2452f6874a1612dc3e29f512143
mmc: sdhci-of-arasan: Check return value of non-void funtions

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>
drivers/mmc/host/sdhci-of-arasan.c