Tag: 3e7cf90213e789bdc13f2638cc9d8b9993d5491e

mmc: sdhci: host: fix odd_ptr_err.cocci warnings

Author: Wu Fengguang <fengguang.wu@intel.com> drivers/mmc/host/sdhci_f_sdh30.c:143:5-11: inconsistent IS_ERR and PTR_ERR, PTR_ERR on line 144 PTR_ERR should access the value just tested by IS_ERR Semantic patch information: There can be false positives in the patch case, where it is the call IS_ERR that is wrong. Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci CC: Vincent Yang Signed-off-by: Fengguang Wu Signed-off-by: Ulf Hansson …

Continue reading