drivers/gpu/drm/xe/xe_amc.c:94:35: sparse: sparse: incorrect type in initializer (different base types)
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/Heikki-Krogerus/i2c-designware-Global-register-definitions/20260812-202000, commit: 2231c0326f974d6ed4b042c754e673aa9a91726d" :::::: BCC: [email protected] CC: [email protected] TO: Heikki Krogerus <[email protected]> CC: 0day robot <[email protected]> CC: Ramesh Babu B <[email protected]> tree: https://github.com/intel-lab-lkp/linux/commits/Heikki-Krogerus/i2c-designware-Global-register-definitions/20260812-202000 head: ce9282ec4e31ed8cb9800ad06eacd6f86655a6c4 commit: 2231c0326f974d6ed4b042c754e673aa9a91726d drm/xe/i2c: Fix the interrupt handling date: 2 days ago :::::: branch date: 2 days ago :::::: commit date: 2 days ago config: parisc-randconfig-r113-20260814 (https://download.01.org/0day-ci/archive/20260814/[email protected]/config) compiler: hppa-linux-gcc (GCC) 13.4.0 sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260814/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/xe/xe_amc.c:94:35: sparse: sparse: incorrect type in initializer (different base types) @@ expected unsigned short [usertype] vendor @@ got restricted __be16 [usertype] @@ drivers/gpu/drm/xe/xe_amc.c:94:35: sparse: expected unsigned short [usertype] vendor drivers/gpu/drm/xe/xe_amc.c:94:35: sparse: got restricted __be16 [usertype] vim +94 drivers/gpu/drm/xe/xe_amc.c 2231c0326f974d Heikki Krogerus 2026-07-22 81 2231c0326f974d Heikki Krogerus 2026-07-22 82 static const struct amc_request amc_get_alert_reason = { 2231c0326f974d Heikki Krogerus 2026-07-22 83 .header = { 2231c0326f974d Heikki Krogerus 2026-07-22 84 .command = AMC_COMMAND, 2231c0326f974d Heikki Krogerus 2026-07-22 85 .len = sizeof(struct amc_request) - 2, 2231c0326f974d Heikki Krogerus 2026-07-22 86 .address = AMC_GPU_I2C_ADDR, 2231c0326f974d Heikki Krogerus 2026-07-22 87 .version = AMC_VERSION_V1, 2231c0326f974d Heikki Krogerus 2026-07-22 88 .destination = AMC_DESTINATION_ID, 2231c0326f974d Heikki Krogerus 2026-07-22 89 .source = AMC_SOURCE_ID, 2231c0326f974d Heikki Krogerus 2026-07-22 90 .flags = AMC_FLAGS, 2231c0326f974d Heikki Krogerus 2026-07-22 91 }, 2231c0326f974d Heikki Krogerus 2026-07-22 92 .message = { 2231c0326f974d Heikki Krogerus 2026-07-22 93 .type = AMC_MSG_TYPE, 2231c0326f974d Heikki Krogerus 2026-07-22 @94 .vendor = htons(PCI_VENDOR_ID_INTEL), 2231c0326f974d Heikki Krogerus 2026-07-22 95 .command = AMC_GET_ALERT_REASON, 2231c0326f974d Heikki Krogerus 2026-07-22 96 }, 2231c0326f974d Heikki Krogerus 2026-07-22 97 }; 2231c0326f974d Heikki Krogerus 2026-07-22 98 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki