All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/iommu/intel/dmar.c:2023 dmar_detect_dsm() warn: should '1 << func' be a 64 bit type?
@ 2021-05-25 10:25 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-25 10:25 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 1970 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Joerg Roedel <jroedel@suse.de>
CC: Jerry Snitselaar <jsnitsel@redhat.com>
CC: Lu Baolu <baolu.lu@linux.intel.com>

Hi Joerg,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a050a6d2b7e80ca52b2f4141eaf3420d201b72b3
commit: 672cf6df9b8a3a6d70a6a5c30397f76fa40d3178 iommu/vt-d: Move Intel IOMMU driver into subdirectory
date:   12 months ago
:::::: branch date: 8 hours ago
:::::: commit date: 12 months ago
config: x86_64-randconfig-m001-20210525 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
drivers/iommu/intel/dmar.c:2023 dmar_detect_dsm() warn: should '1 << func' be a 64 bit type?

vim +2023 drivers/iommu/intel/dmar.c

6b1972493a84f8 drivers/iommu/dmar.c Jiang Liu       2014-11-09  2020  
6b1972493a84f8 drivers/iommu/dmar.c Jiang Liu       2014-11-09  2021  static inline bool dmar_detect_dsm(acpi_handle handle, int func)
6b1972493a84f8 drivers/iommu/dmar.c Jiang Liu       2014-11-09  2022  {
94116f8126de97 drivers/iommu/dmar.c Andy Shevchenko 2017-06-05 @2023  	return acpi_check_dsm(handle, &dmar_hp_guid, DMAR_DSM_REV_ID, 1 << func);
6b1972493a84f8 drivers/iommu/dmar.c Jiang Liu       2014-11-09  2024  }
6b1972493a84f8 drivers/iommu/dmar.c Jiang Liu       2014-11-09  2025  

:::::: The code@line 2023 was first introduced by commit
:::::: 94116f8126de9762751fd92731581b73b56292e5 ACPI: Switch to use generic guid_t in acpi_evaluate_dsm()

:::::: TO: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
:::::: CC: Christoph Hellwig <hch@lst.de>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35893 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-25 10:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 10:25 drivers/iommu/intel/dmar.c:2023 dmar_detect_dsm() warn: should '1 << func' be a 64 bit type? kernel test robot

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.