Hi Ben,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on pm/linux-next]
[also build test WARNING on linus/master linux/master v5.10-rc3 next-20201113]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Ben-Widawsky/CXL-2-0-Support/202...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/a138b84a65bc7931b234fc14497d8cfe5...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ben-Widawsky/CXL-2-0-Support/20201111-134547
git checkout a138b84a65bc7931b234fc14497d8cfe53d736f2
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/device.h:15,
from include/linux/acpi.h:15,
from drivers/cxl/acpi.c:10:
drivers/cxl/acpi.c: In function 'acpi_cxl_add':
> drivers/cxl/acpi.c:45:16: warning: format '%lld' expects
argument of type 'long long int', but argument 3 has type 'acpi_size' {aka
'unsigned int'} [-Wformat=]
45 | dev_info(dev, "found CEDT at
startup: %lld bytes\n", sz);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:19:22: note: in definition of macro 'dev_fmt'
19 | #define dev_fmt(fmt) fmt
| ^~~
drivers/cxl/acpi.c:45:2: note: in expansion of macro 'dev_info'
45 | dev_info(dev, "found CEDT at startup: %lld bytes\n", sz);
| ^~~~~~~~
drivers/cxl/acpi.c:45:43: note: format string is defined here
45 | dev_info(dev, "found CEDT at startup: %lld bytes\n", sz);
| ~~~^
| |
| long long int
| %d
vim +45 drivers/cxl/acpi.c
25
26 static int acpi_cxl_add(struct acpi_device *adev)
27 {
28 struct acpi_cxl_desc *acpi_desc;
29 struct device *dev = &adev->dev;
30 struct acpi_table_header *tbl;
31 acpi_status status = AE_OK;
32 acpi_size sz;
33 int rc = 0;
34
35 status = acpi_get_table(ACPI_SIG_CEDT, 0, &tbl);
36 if (ACPI_FAILURE(status)) {
37 dev_err(dev, "failed to find CEDT at startup\n");
38 return 0;
39 }
40
41 rc = devm_add_action_or_reset(dev, acpi_cedt_put_table, tbl);
42 if (rc)
43 return rc;
44 sz = tbl->length;
45 dev_info(dev, "found CEDT at startup: %lld bytes\n",
sz);
46
47 acpi_desc = devm_kzalloc(dev, sizeof(*acpi_desc), GFP_KERNEL);
48 if (!acpi_desc)
49 return -ENOMEM;
50 acpi_cxl_desc_init(acpi_desc, &adev->dev);
51
52 acpi_desc->acpi_header = *tbl;
53
54 return 0;
55 }
56
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org