All of lore.kernel.org
 help / color / mirror / Atom feed
* [hare-scsi-devel:dm-zoned.v3 13/13] drivers/md/dm-zoned-target.c:733: undefined reference to `__udivdi3'
@ 2020-04-09 19:19 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-09 19:19 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2571 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git dm-zoned.v3
head:   fb347b978241acdedcb1d00a817195275fb8eba1
commit: fb347b978241acdedcb1d00a817195275fb8eba1 [13/13] dm-zoned: metadata version 2
config: i386-randconfig-f003-20200409 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout fb347b978241acdedcb1d00a817195275fb8eba1
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   ld: drivers/md/dm-zoned-target.o: in function `dmz_get_zoned_device':
>> drivers/md/dm-zoned-target.c:733: undefined reference to `__udivdi3'
>> ld: drivers/md/dm-zoned-target.c:734: undefined reference to `__umoddi3'

vim +733 drivers/md/dm-zoned-target.c

   696	
   697	/*
   698	 * Get zoned device information.
   699	 */
   700	static int dmz_get_zoned_device(struct dm_target *ti, char *path,
   701					struct dmz_dev *dev, int num)
   702	{
   703		struct dmz_target *dmz = ti->private;
   704		struct request_queue *q;
   705		int ret;
   706	
   707		/* Get the target device */
   708		ret = dm_get_device(ti, path, dm_table_get_mode(ti->table),
   709				    &dmz->ddev[num]);
   710		if (ret) {
   711			ti->error = "Get target device failed";
   712			dmz->ddev[num] = NULL;
   713			return ret;
   714		}
   715	
   716		dev->bdev = dmz->ddev[num]->bdev;
   717		(void)bdevname(dev->bdev, dev->name);
   718	
   719		if (bdev_zoned_model(dev->bdev) == BLK_ZONED_NONE)
   720			dev->flags = DMZ_BDEV_REGULAR;
   721	
   722		q = bdev_get_queue(dev->bdev);
   723		dev->capacity = i_size_read(dev->bdev->bd_inode) >> SECTOR_SHIFT;
   724		if (ti->begin) {
   725			ti->error = "Partial mapping is not supported";
   726			dm_put_device(ti, dmz->ddev[num]);
   727			dmz->ddev[num] = NULL;
   728			return -EINVAL;
   729		}
   730	
   731		if (num == 1) {
   732			dev->zone_nr_sectors = dmz->dev[0].zone_nr_sectors;
 > 733			dev->nr_zones = dev->capacity / dev->zone_nr_sectors;
 > 734			if (dev->capacity % dev->nr_zones)
   735				dev->nr_zones++;
   736		} else {
   737			dev->zone_nr_sectors = blk_queue_zone_sectors(q);
   738			dev->nr_zones = blkdev_nr_zones(dev->bdev->bd_disk);
   739		}
   740		return 0;
   741	}
   742	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31902 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-09 19:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09 19:19 [hare-scsi-devel:dm-zoned.v3 13/13] drivers/md/dm-zoned-target.c:733: undefined reference to `__udivdi3' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.