From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: drivers/iommu/intel/iommu.c:230 clear_context_copied() warn: clear_bit() takes a bit number
Date: Sun, 7 May 2023 15:11:54 +0800 [thread overview]
Message-ID: <202305071548.GbwMb766-lkp@intel.com> (raw)
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Lu Baolu <baolu.lu@linux.intel.com>
CC: Joerg Roedel <jroedel@suse.de>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fc4354c6e5c21257cf4a50b32f7c11c7d65c55b3
commit: 0c5f6c0d8201a809a6585b07b6263e9db2c874a3 iommu/vt-d: Fix kdump kernels boot failure with scalable mode
date: 8 months ago
:::::: branch date: 12 hours ago
:::::: commit date: 8 months ago
config: ia64-randconfig-m031-20230507 (https://download.01.org/0day-ci/archive/20230507/202305071548.GbwMb766-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 12.1.0
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Link: https://lore.kernel.org/r/202305071548.GbwMb766-lkp@intel.com/
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)
arch/ia64/include/asm/timex.h:39 get_cycles() error: uninitialized symbol 'ia64_intri_res'.
drivers/iommu/intel/iommu.c:3422 intel_iommu_add() warn: missing unwind goto?
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://github.com/intel/lkp-tests
next reply other threads:[~2023-05-07 7:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-07 7:11 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-10 20:50 drivers/iommu/intel/iommu.c:230 clear_context_copied() warn: clear_bit() takes a bit number kernel test robot
2023-03-10 1:15 kernel test robot
2023-01-19 18:14 kernel test robot
2022-11-17 21:30 kernel test robot
2022-11-05 4:34 kernel test robot
2022-09-19 23:42 kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202305071548.GbwMb766-lkp@intel.com \
--to=lkp@intel.com \
--cc=error27@gmail.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.