CC: kbuild-...@lists.01.org
CC: linux-ker...@vger.kernel.org
TO: Kenneth Lee <liguo...@hisilicon.com>
CC: Herbert Xu <herb...@gondor.apana.org.au>
CC: "Greg Kroah-Hartman" <gre...@linuxfoundation.org>
CC: Jonathan Cameron <jonathan.came...@huawei.com>
CC: Zaibo Xu <xuza...@huawei.com>
CC: Zhou Wang <wangzh...@hisilicon.com>
CC: "Jean-Philippe Brucker" <jean-phili...@linaro.org>
CC: Zhangfei Gao <zhangfei....@linaro.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7b1b868e1d9156484ccce9bf11122c053de82617
commit: 015d239ac0142ad0e26567fd890ef8d171f13709 uacce: add uacce driver
date:   10 months ago
:::::: branch date: 3 hours ago
:::::: commit date: 10 months ago
config: i386-randconfig-m021-20201213 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0

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

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?

Old smatch warnings:
drivers/misc/uacce/uacce.c:423 region_dus_size_show() warn: should 
'uacce->qf_pg_num[1] << 12' be a 64 bit type?

vim +414 drivers/misc/uacce/uacce.c

015d239ac0142a Kenneth Lee 2020-02-11  407  
015d239ac0142a Kenneth Lee 2020-02-11  408  static ssize_t 
region_mmio_size_show(struct device *dev,
015d239ac0142a Kenneth Lee 2020-02-11  409                                   
struct device_attribute *attr, char *buf)
015d239ac0142a Kenneth Lee 2020-02-11  410  {
015d239ac0142a Kenneth Lee 2020-02-11  411      struct uacce_device *uacce = 
to_uacce_device(dev);
015d239ac0142a Kenneth Lee 2020-02-11  412  
015d239ac0142a Kenneth Lee 2020-02-11  413      return sprintf(buf, "%lu\n",
015d239ac0142a Kenneth Lee 2020-02-11 @414                     
uacce->qf_pg_num[UACCE_QFRT_MMIO] << PAGE_SHIFT);
015d239ac0142a Kenneth Lee 2020-02-11  415  }
015d239ac0142a Kenneth Lee 2020-02-11  416  

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to