drivers/gpu/drm/i915/display/intel_lt_phy.c:246:35: sparse: sparse: Using plain integer as NULL pointer

From: kernel test robot

Date: Mon Mar 02 2026 - 05:40:48 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 11439c4635edd669ae435eec308f4ab8a0804808
commit: e1455196ada3ed892742b6b3459be7e6980a1590 drm/i915/ltphy: Read PHY_VDR_0_CONFIG register
date: 4 months ago
config: x86_64-randconfig-122-20260302 (https://download.01.org/0day-ci/archive/20260302/202603021838.U7fteS8P-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260302/202603021838.U7fteS8P-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/202603021838.U7fteS8P-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