Hi Can, Thank you for the patch! Yet something to improve: [auto build test ERROR on scsi/for-next] [also build test ERROR on mkp-scsi/for-next linus/master v5.12-rc5 next-20210330] [cannot apply to target/for-next] [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/Can-Guo/Introduce-hba-performance-monitoring-sysfs-nodes/20210331-111757 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next config: i386-randconfig-s002-20210330 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-279-g6d5d9b42-dirty # https://github.com/0day-ci/linux/commit/b93786009e6f1d28ee1f01e6bc7e5093d20deed3 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Can-Guo/Introduce-hba-performance-monitoring-sysfs-nodes/20210331-111757 git checkout b93786009e6f1d28ee1f01e6bc7e5093d20deed3 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): ld: drivers/scsi/ufs/ufs-sysfs.o: in function `write_req_latency_avg_show': >> drivers/scsi/ufs/ufs-sysfs.c:441: undefined reference to `__divdi3' ld: drivers/scsi/ufs/ufs-sysfs.o: in function `read_req_latency_avg_show': drivers/scsi/ufs/ufs-sysfs.c:374: undefined reference to `__divdi3' vim +441 drivers/scsi/ufs/ufs-sysfs.c 433 434 static ssize_t write_req_latency_avg_show(struct device *dev, 435 struct device_attribute *attr, 436 char *buf) 437 { 438 struct ufs_hba *hba = dev_get_drvdata(dev); 439 struct ufs_hba_monitor *m = &hba->monitor; 440 > 441 return sysfs_emit(buf, "%llu\n", 442 ktime_to_us(m->lat_sum[WRITE]) / m->nr_req[WRITE]); 443 } 444 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip