On 19.07.2020 15:49, kernel test robot wrote:
From: kernel test robot <lkp(a)intel.com>
drivers/media/platform/exynos4-is/media-dev.c:1273:1-3: WARNING: PTR_ERR_OR_ZERO can be
used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Fixes: 18ffec750578 ("media: exynos4-is: Add missed check for
pinctrl_lookup_state()")
The above commit is incorrect, I'm going to post a patch that
removes the "idle" pinctrl state handling code from the driver
so there is no need to apply the $subject patch.
--
Thanks,
Sylwester