CC: [email protected] CC: [email protected] TO: Kenneth Lee <[email protected]> CC: Herbert Xu <[email protected]> CC: "Greg Kroah-Hartman" <[email protected]> CC: Jonathan Cameron <[email protected]> CC: Zaibo Xu <[email protected]> CC: Zhou Wang <[email protected]> CC: "Jean-Philippe Brucker" <[email protected]> CC: Zhangfei Gao <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04 commit: 015d239ac0142ad0e26567fd890ef8d171f13709 uacce: add uacce driver date: 11 months ago :::::: branch date: 17 hours ago :::::: commit date: 11 months ago config: riscv-randconfig-m031-20210125 (attached as .config) compiler: riscv32-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> New smatch warnings: drivers/misc/uacce/uacce.c:414 region_mmio_size_show() warn: should 'uacce->qf_pg_num[0] << (12)' be a 64 bit type? drivers/misc/uacce/uacce.c:423 region_dus_size_show() warn: should 'uacce->qf_pg_num[1] << (12)' be a 64 bit type? Old smatch warnings: arch/riscv/include/asm/current.h:30 get_current() error: uninitialized symbol 'tp'. vim +414 drivers/misc/uacce/uacce.c 015d239ac0142ad Kenneth Lee 2020-02-11 407 015d239ac0142ad Kenneth Lee 2020-02-11 408 static ssize_t region_mmio_size_show(struct device *dev, 015d239ac0142ad Kenneth Lee 2020-02-11 409 struct device_attribute *attr, char *buf) 015d239ac0142ad Kenneth Lee 2020-02-11 410 { 015d239ac0142ad Kenneth Lee 2020-02-11 411 struct uacce_device *uacce = to_uacce_device(dev); 015d239ac0142ad Kenneth Lee 2020-02-11 412 015d239ac0142ad Kenneth Lee 2020-02-11 413 return sprintf(buf, "%lu\n", 015d239ac0142ad Kenneth Lee 2020-02-11 @414 uacce->qf_pg_num[UACCE_QFRT_MMIO] << PAGE_SHIFT); 015d239ac0142ad Kenneth Lee 2020-02-11 415 } 015d239ac0142ad Kenneth Lee 2020-02-11 416 015d239ac0142ad Kenneth Lee 2020-02-11 417 static ssize_t region_dus_size_show(struct device *dev, 015d239ac0142ad Kenneth Lee 2020-02-11 418 struct device_attribute *attr, char *buf) 015d239ac0142ad Kenneth Lee 2020-02-11 419 { 015d239ac0142ad Kenneth Lee 2020-02-11 420 struct uacce_device *uacce = to_uacce_device(dev); 015d239ac0142ad Kenneth Lee 2020-02-11 421 015d239ac0142ad Kenneth Lee 2020-02-11 422 return sprintf(buf, "%lu\n", 015d239ac0142ad Kenneth Lee 2020-02-11 @423 uacce->qf_pg_num[UACCE_QFRT_DUS] << PAGE_SHIFT); 015d239ac0142ad Kenneth Lee 2020-02-11 424 } 015d239ac0142ad Kenneth Lee 2020-02-11 425 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
