tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f804b3159482eedbb4250b1e9248c308fb63b805 commit: 6cbfa11d2694b8a1e46d6834fb9705d5589e3ef1 ASoC: Intel: Select catpt and deprecate haswell date: 3 weeks ago config: i386-randconfig-s002-20201022 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6cbfa11d2694b8a1e46d6834fb9705d5589e3ef1 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 6cbfa11d2694b8a1e46d6834fb9705d5589e3ef1 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> sound/soc/intel/catpt/dsp.c:359:9: sparse: sparse: restricted pci_power_t degrades to integer sound/soc/intel/catpt/dsp.c:372:9: sparse: sparse: restricted pci_power_t degrades to integer sound/soc/intel/catpt/dsp.c:423:9: sparse: sparse: restricted pci_power_t degrades to integer sound/soc/intel/catpt/dsp.c:447:9: sparse: sparse: restricted pci_power_t degrades to integer vim +359 sound/soc/intel/catpt/dsp.c ba202a7bc3da05 Cezary Rojewski 2020-09-29 343 ba202a7bc3da05 Cezary Rojewski 2020-09-29 344 int lpt_dsp_power_down(struct catpt_dev *cdev) ba202a7bc3da05 Cezary Rojewski 2020-09-29 345 { ba202a7bc3da05 Cezary Rojewski 2020-09-29 346 catpt_dsp_reset(cdev, true); ba202a7bc3da05 Cezary Rojewski 2020-09-29 347 ba202a7bc3da05 Cezary Rojewski 2020-09-29 348 /* set 24Mhz clock for both SSPs */ ba202a7bc3da05 Cezary Rojewski 2020-09-29 349 catpt_updatel_shim(cdev, CS1, CATPT_CS_SBCS(0) | CATPT_CS_SBCS(1), ba202a7bc3da05 Cezary Rojewski 2020-09-29 350 CATPT_CS_SBCS(0) | CATPT_CS_SBCS(1)); ba202a7bc3da05 Cezary Rojewski 2020-09-29 351 catpt_dsp_select_lpclock(cdev, true, false); ba202a7bc3da05 Cezary Rojewski 2020-09-29 352 ba202a7bc3da05 Cezary Rojewski 2020-09-29 353 /* DRAM power gating all */ ba202a7bc3da05 Cezary Rojewski 2020-09-29 354 catpt_dsp_set_srampge(cdev, &cdev->dram, cdev->spec->dram_mask, ba202a7bc3da05 Cezary Rojewski 2020-09-29 355 cdev->spec->dram_mask); ba202a7bc3da05 Cezary Rojewski 2020-09-29 356 catpt_dsp_set_srampge(cdev, &cdev->iram, cdev->spec->iram_mask, ba202a7bc3da05 Cezary Rojewski 2020-09-29 357 cdev->spec->iram_mask); ba202a7bc3da05 Cezary Rojewski 2020-09-29 358 ba202a7bc3da05 Cezary Rojewski 2020-09-29 @359 catpt_updatel_pci(cdev, PMCS, PCI_PM_CTRL_STATE_MASK, PCI_D3hot); ba202a7bc3da05 Cezary Rojewski 2020-09-29 360 /* give hw time to drop off */ ba202a7bc3da05 Cezary Rojewski 2020-09-29 361 udelay(50); ba202a7bc3da05 Cezary Rojewski 2020-09-29 362 ba202a7bc3da05 Cezary Rojewski 2020-09-29 363 return 0; ba202a7bc3da05 Cezary Rojewski 2020-09-29 364 } ba202a7bc3da05 Cezary Rojewski 2020-09-29 365 :::::: The code at line 359 was first introduced by commit :::::: ba202a7bc3da05ca4548c7247f9be769b4e8c9fa ASoC: Intel: catpt: Define DSP operations :::::: TO: Cezary Rojewski :::::: CC: Mark Brown --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org