drivers/gpu/drm/i915/display/intel_lt_phy.c:246:35: sparse: sparse: Using plain integer as NULL pointer
From: kernel test robot
Date: Thu Jun 11 2026 - 12:19:36 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9716c086c8e8b141d35aa61f2e96a2e83de212a7
commit: e1455196ada3ed892742b6b3459be7e6980a1590 drm/i915/ltphy: Read PHY_VDR_0_CONFIG register
date: 7 months ago
config: i386-randconfig-062-20260611 (https://download.01.org/0day-ci/archive/20260612/202606120029.ZTaxZGeL-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260612/202606120029.ZTaxZGeL-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
| Fixes: e1455196ada3 ("drm/i915/ltphy: Read PHY_VDR_0_CONFIG register")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606120029.ZTaxZGeL-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/display/intel_lt_phy.c:246:35: sparse: sparse: Using plain integer as NULL pointer
vim +246 drivers/gpu/drm/i915/display/intel_lt_phy.c
238
239 void intel_lt_phy_pll_enable(struct intel_encoder *encoder,
240 const struct intel_crtc_state *crtc_state)
241 {
242 struct intel_display *display = to_intel_display(encoder);
243 struct intel_digital_port *dig_port = enc_to_dig_port(encoder);
244 bool lane_reversal = dig_port->lane_reversal;
245 u8 owned_lane_mask = intel_lt_phy_get_owned_lane_mask(encoder);
> 246 intel_wakeref_t wakeref = 0;
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki