tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: ba4598909fa733c1ed6c07f39b35062d893c9f54
commit: a694c74e14428cb728aec2b4563019fa53b77878 [73/118] FROMLIST: platform/chrome:
wilco_ec: Provide correct output format to 'h1_gpio' file
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
git checkout a694c74e14428cb728aec2b4563019fa53b77878
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/platform/chrome/wilco_ec/debugfs.c:11:0:
drivers/platform/chrome/wilco_ec/debugfs.c: In function 'fops_h1_gpio_open':
> drivers/platform/chrome/wilco_ec/debugfs.c:214:59: warning:
format '%hhx' expects argument of type 'int', but argument 2 has type
'long long unsigned int' [-Wformat=]
DEFINE_DEBUGFS_ATTRIBUTE(fops_h1_gpio, h1_gpio_get, NULL, "0x%02hhx\n");
^
include/linux/debugfs.h:45:29: note: in definition of macro
'DEFINE_DEBUGFS_ATTRIBUTE'
__simple_attr_check_format(__fmt, 0ull); \
^~~~~
vim +214 drivers/platform/chrome/wilco_ec/debugfs.c
213
214 DEFINE_DEBUGFS_ATTRIBUTE(fops_h1_gpio, h1_gpio_get, NULL,
"0x%02hhx\n");
215
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org