I don't seem to have received any other message about this, but from the URL below, the referenced code seems to be:
if (IS_ERR(iomem)) { err = PTR_ERR(vma); continue; }
It seems that the argument of PTR_ERR should be iomem, because vma has already been tested.
julia
---------- Forwarded message ---------- Date: Sat, 11 Sep 2021 09:14:18 +0800 From: kernel test robot lkp@intel.com To: kbuild@lists.01.org Cc: lkp@intel.com, Julia Lawall julia.lawall@lip6.fr Subject: Re: [Intel-gfx] [PATCH] drm/i915: Add ww context to intel_dpt_pin
CC: kbuild-all@lists.01.org In-Reply-To: 20210910081942.1075038-1-maarten.lankhorst@linux.intel.com References: 20210910081942.1075038-1-maarten.lankhorst@linux.intel.com TO: Maarten Lankhorst maarten.lankhorst@linux.intel.com TO: intel-gfx@lists.freedesktop.org CC: dri-devel@lists.freedesktop.org CC: Maarten Lankhorst maarten.lankhorst@linux.intel.com
Hi Maarten,
I love your patch! Perhaps something to improve:
[auto build test WARNING on drm-tip/drm-tip] [cannot apply to drm-intel/for-linux-next drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next drm/drm-next v5.14 next-20210910] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Maarten-Lankhorst/drm-i915-Add-ww-c... base: git://anongit.freedesktop.org/drm/drm-tip drm-tip :::::: branch date: 17 hours ago :::::: commit date: 17 hours ago config: x86_64-randconfig-c002-20210910 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot lkp@intel.com Reported-by: Julia Lawall julia.lawall@lip6.fr
cocci warnings: (new ones prefixed by >>)
drivers/gpu/drm/i915/display/intel_dpt.c:145:6-12: inconsistent IS_ERR and PTR_ERR on line 146.
Please review and possibly fold the followup patch.
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org