tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: fe21733536749bb1b31c9c84e0b8d2ab8d82ce13 commit: 2edc6a75f26c112d90ca67ff412ba79622069818 [1413/2025] drm/i915: switch intel_wakeref_t underlying type to struct ref_tracker * config: x86_64-randconfig-r122-20241002 (https://download.01.org/0day-ci/archive/20241002/202410021951.KfCEVbgG-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241002/202410021951.KfCEVbgG-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202410021951.KfCEVbgG-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/i915/gvt/aperture_gm.c:326:9: sparse: sparse: Using plain integer as NULL pointer -- >> drivers/gpu/drm/i915/gvt/scheduler.c:1756:17: sparse: sparse: Using plain integer as NULL pointer drivers/gpu/drm/i915/gvt/scheduler.c: note: in included file (through include/linux/smp.h, include/linux/lockdep.h, include/linux/spinlock.h, ...): include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true vim +326 drivers/gpu/drm/i915/gvt/aperture_gm.c 28a60dee2ce602 Zhi Wang 2016-09-02 313 d22a48bf7302ef Changbin Du 2017-01-13 314 /** d22a48bf7302ef Changbin Du 2017-01-13 315 * intel_vgpu_reset_resource - reset resource state owned by a vGPU d22a48bf7302ef Changbin Du 2017-01-13 316 * @vgpu: a vGPU d22a48bf7302ef Changbin Du 2017-01-13 317 * d22a48bf7302ef Changbin Du 2017-01-13 318 * This function is used to reset resource state owned by a vGPU. d22a48bf7302ef Changbin Du 2017-01-13 319 * d22a48bf7302ef Changbin Du 2017-01-13 320 */ d22a48bf7302ef Changbin Du 2017-01-13 321 void intel_vgpu_reset_resource(struct intel_vgpu *vgpu) d22a48bf7302ef Changbin Du 2017-01-13 322 { a61ac1e75105a0 Chris Wilson 2020-03-06 323 struct intel_gvt *gvt = vgpu->gvt; a61ac1e75105a0 Chris Wilson 2020-03-06 324 intel_wakeref_t wakeref; d22a48bf7302ef Changbin Du 2017-01-13 325 a61ac1e75105a0 Chris Wilson 2020-03-06 @326 with_intel_runtime_pm(gvt->gt->uncore->rpm, wakeref) d22a48bf7302ef Changbin Du 2017-01-13 327 _clear_vgpu_fence(vgpu); d22a48bf7302ef Changbin Du 2017-01-13 328 } d22a48bf7302ef Changbin Du 2017-01-13 329 :::::: The code at line 326 was first introduced by commit :::::: a61ac1e75105a077ec1efd6923ae3c619f862304 drm/i915/gvt: Wean gvt off using dev_priv :::::: TO: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> :::::: CC: Zhenyu Wang <zhenyuw@xxxxxxxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki