Re: [PATCH] mmc: sdhci: host: fix odd_ptr_err.cocci warnings

2015-01-21 Thread Vincent Yang
2015-01-21 19:37 GMT+08:00 Ulf Hansson : > On 21 January 2015 at 12:19, kbuild test robot wrote: >> 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: >>

Re: [PATCH] mmc: sdhci: host: fix odd_ptr_err.cocci warnings

2015-01-21 Thread Ulf Hansson
On 21 January 2015 at 12:19, kbuild test robot wrote: > 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, w

[PATCH] mmc: sdhci: host: fix odd_ptr_err.cocci warnings

2015-01-21 Thread kbuild test robot
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/c