Content-Type: multipart/mixed; boundary="===============7491829497307625466==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [Intel-gfx] [PATCH 1/3] drm/i915: Introduce remap_io_sg() to prefault discontiguous objects Date: Fri, 27 Dec 2019 17:43:48 +0800 Message-ID: <201912271741.XcsFG2WF%lkp@intel.com> In-Reply-To: <20191223041512.3582-1-abdiel.janulgue@linux.intel.com> List-Id: --===============7491829497307625466== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Abdiel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on drm-tip/drm-tip v5.5-rc3 next-20191220] [if your patch is applied to the wrong git tree, please drop us a note to h= elp improve the system. BTW, we also suggest to use '--base' option to specify = the base tree in git format-patch, please see https://stackoverflow.com/a/37406= 982] url: https://github.com/0day-ci/linux/commits/Abdiel-Janulgue/drm-i915-I= ntroduce-remap_io_sg-to-prefault-discontiguous-objects/20191225-032829 base: git://anongit.freedesktop.org/drm-intel for-linux-next reproduce: # apt-get install sparse # sparse version: v0.6.1-129-g341daf20-dirty make ARCH=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/i915/i915_mm.c:130:32: sparse: sparse: Using plain integ= er as NULL pointer vim +130 drivers/gpu/drm/i915/i915_mm.c 114 = 115 /** 116 * remap_io_sg - remap an IO mapping to userspace 117 * @vma: user vma to map to 118 * @addr: target user address to start at 119 * @io_start: IO start 120 * @sgl: Start sg entry 121 * @size: size of map area 122 * @iomap: the source io_mapping 123 * 124 * Note: this is only safe if the mm semaphore is held when called. 125 */ 126 int remap_io_sg(struct vm_area_struct *vma, 127 unsigned long addr, resource_size_t io_start, struct scatterlist *= sgl, 128 unsigned long size, struct io_mapping *iomap) 129 { > 130 struct remap_pfn r =3D { 0 }; --- 0-DAY kernel test infrastructure Open Source Technology Cen= ter https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corpor= ation --===============7491829497307625466==--