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@xxxxxxxxx> To: kbuild@xxxxxxxxxxxx Cc: lkp@xxxxxxxxx, Julia Lawall <julia.lawall@xxxxxxx> Subject: Re: [PATCH] drm/i915: Add ww context to intel_dpt_pin CC: kbuild-all@xxxxxxxxxxxx In-Reply-To: <20210910081942.1075038-1-maarten.lankhorst@xxxxxxxxxxxxxxx> References: <20210910081942.1075038-1-maarten.lankhorst@xxxxxxxxxxxxxxx> TO: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> TO: intel-gfx@xxxxxxxxxxxxxxxxxxxxx CC: dri-devel@xxxxxxxxxxxxxxxxxxxxx CC: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> 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-context-to-intel_dpt_pin/20210910-162231 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@xxxxxxxxx> Reported-by: Julia Lawall <julia.lawall@xxxxxxx> 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@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip