drivers/gpu/drm/i915/display/intel_lt_phy.c:246:35: sparse: sparse: Using plain integer as NULL pointer
From: kernel test robot
Date: Fri Jul 17 2026 - 06:46:53 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fce2dfa773ced15f27dd27cd0b482a7473cdcf2a
commit: e1455196ada3ed892742b6b3459be7e6980a1590 drm/i915/ltphy: Read PHY_VDR_0_CONFIG register
date: 9 months ago
config: x86_64-randconfig-122-20260716 (https://download.01.org/0day-ci/archive/20260717/202607171852.GAoki6h6-lkp@xxxxxxxxx/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260717/202607171852.GAoki6h6-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/202607171852.GAoki6h6-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