* [linux-next:master 1413/2025] drivers/gpu/drm/i915/gvt/aperture_gm.c:326:9: sparse: sparse: Using plain integer as NULL pointer
@ 2024-10-02 11:39 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-02 11:39 UTC (permalink / raw)
To: Jani Nikula; +Cc: oe-kbuild-all, Linux Memory Management List, Rodrigo Vivi
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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410021951.KfCEVbgG-lkp@intel.com/
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@chris-wilson.co.uk>
:::::: CC: Zhenyu Wang <zhenyuw@linux.intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-02 11:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 11:39 [linux-next:master 1413/2025] drivers/gpu/drm/i915/gvt/aperture_gm.c:326:9: sparse: sparse: Using plain integer as NULL pointer kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).