BCC: [email protected] CC: [email protected] CC: [email protected] TO: Lu Baolu <[email protected]> CC: Joerg Roedel <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 521a547ced6477c54b4b0cc206000406c221b4d6 commit: 0c5f6c0d8201a809a6585b07b6263e9db2c874a3 iommu/vt-d: Fix kdump kernels boot failure with scalable mode date: 13 days ago :::::: branch date: 35 hours ago :::::: commit date: 13 days ago config: i386-randconfig-m021-20220919 (https://download.01.org/0day-ci/archive/20220920/[email protected]/config) compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> New smatch warnings: drivers/iommu/intel/iommu.c:230 clear_context_copied() warn: clear_bit() takes a bit number drivers/iommu/intel/iommu.c:224 set_context_copied() warn: set_bit() takes a bit number Old smatch warnings: drivers/iommu/intel/iommu.c:731 device_to_iommu() error: we previously assumed 'pdev' could be null (see line 704) vim +230 drivers/iommu/intel/iommu.c 0c5f6c0d8201a8 Lu Baolu 2022-08-23 220 0c5f6c0d8201a8 Lu Baolu 2022-08-23 221 static inline void 0c5f6c0d8201a8 Lu Baolu 2022-08-23 222 set_context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) 0c5f6c0d8201a8 Lu Baolu 2022-08-23 223 { 0c5f6c0d8201a8 Lu Baolu 2022-08-23 @224 set_bit(((long)bus << 8) | devfn, iommu->copied_tables); 0c5f6c0d8201a8 Lu Baolu 2022-08-23 225 } 0c5f6c0d8201a8 Lu Baolu 2022-08-23 226 0c5f6c0d8201a8 Lu Baolu 2022-08-23 227 static inline void 0c5f6c0d8201a8 Lu Baolu 2022-08-23 228 clear_context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) 0c5f6c0d8201a8 Lu Baolu 2022-08-23 229 { 0c5f6c0d8201a8 Lu Baolu 2022-08-23 @230 clear_bit(((long)bus << 8) | devfn, iommu->copied_tables); 0c5f6c0d8201a8 Lu Baolu 2022-08-23 231 } 0c5f6c0d8201a8 Lu Baolu 2022-08-23 232 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
