[Intel-gfx] [PATCH] drm/i915: Add ww context to intel_dpt_pin (fwd)

Julia Lawall julia.lawall at inria.fr
Sat Sep 11 13:58:21 UTC 2021


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 at intel.com>
To: kbuild at lists.01.org
Cc: lkp at intel.com, Julia Lawall <julia.lawall at lip6.fr>
Subject: Re: [Intel-gfx] [PATCH] drm/i915: Add ww context to intel_dpt_pin

CC: kbuild-all at lists.01.org
In-Reply-To: <20210910081942.1075038-1-maarten.lankhorst at linux.intel.com>
References: <20210910081942.1075038-1-maarten.lankhorst at linux.intel.com>
TO: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
TO: intel-gfx at lists.freedesktop.org
CC: dri-devel at lists.freedesktop.org
CC: Maarten Lankhorst <maarten.lankhorst at 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-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 at intel.com>
Reported-by: Julia Lawall <julia.lawall at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 31910 bytes
Desc: 
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20210911/a2fb6468/attachment-0001.gz>


More information about the Intel-gfx mailing list