linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [linux-next:master 1413/2025] drivers/gpu/drm/i915/gvt/aperture_gm.c:326:9: sparse: sparse: Using plain integer as NULL pointer
Date: Wed, 2 Oct 2024 19:39:26 +0800	[thread overview]
Message-ID: <202410021951.KfCEVbgG-lkp@intel.com> (raw)

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


                 reply	other threads:[~2024-10-02 11:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202410021951.KfCEVbgG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jani.nikula@intel.com \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).