From: kernel test robot <lkp@intel.com>
To: Yu Kuai <yukuai@fnnas.com>, song@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, linux-raid@vger.kernel.org,
linux-kernel@vger.kernel.org, linan122@huawei.com,
xni@redhat.com
Subject: Re: [PATCH] md: support to align bio to limits
Date: Tue, 25 Nov 2025 09:37:54 +0800 [thread overview]
Message-ID: <202511250848.gq6d7JeR-lkp@intel.com> (raw)
In-Reply-To: <20251121051406.1316884-3-yukuai@fnnas.com>
Hi Yu,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.18-rc7 next-20251124]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Yu-Kuai/md-support-to-align-bio-to-limits/20251121-131703
base: linus/master
patch link: https://lore.kernel.org/r/20251121051406.1316884-3-yukuai%40fnnas.com
patch subject: [PATCH] md: support to align bio to limits
config: i386-randconfig-002-20251125 (https://download.01.org/0day-ci/archive/20251125/202511250848.gq6d7JeR-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251125/202511250848.gq6d7JeR-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511250848.gq6d7JeR-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: drivers/md/md.o: in function `__md_bio_align_to_limits':
>> drivers/md/md.c:434:(.text+0x68e4): undefined reference to `__umoddi3'
>> ld: drivers/md/md.c:443:(.text+0x693a): undefined reference to `__umoddi3'
vim +434 drivers/md/md.c
428
429 static struct bio *__md_bio_align_to_limits(struct mddev *mddev,
430 struct bio *bio)
431 {
432 unsigned int max_sectors = mddev->gendisk->queue->limits.max_sectors;
433 sector_t start = bio->bi_iter.bi_sector;
> 434 sector_t align_start = roundup(start, max_sectors);
435 sector_t end;
436 sector_t align_end;
437
438 /* already aligned */
439 if (align_start == start)
440 return bio;
441
442 end = start + bio_sectors(bio);
> 443 align_end = rounddown(end, max_sectors);
444
445 /* bio is too small to split */
446 if (align_end <= align_start)
447 return bio;
448
449 return bio_submit_split_bioset(bio, align_start - start,
450 &mddev->gendisk->bio_split);
451 }
452
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-11-25 1:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-21 5:13 [PATCH 0/7] md: raid5,raid0,raid10: align bio to io_opt Yu Kuai
2025-11-21 5:13 ` [PATCH 1/7] md/raid5: use mempool to allocate stripe_request_ctx Yu Kuai
2025-11-21 5:14 ` [PATCH] md: support to align bio to limits Yu Kuai
2025-11-21 5:19 ` Yu Kuai
2025-11-25 1:37 ` kernel test robot [this message]
2025-11-25 8:23 ` kernel test robot
2025-11-21 5:14 ` [PATCH 2/7] md/raid5: make sure max_sectors is not less than io_opt Yu Kuai
2025-11-21 5:14 ` [PATCH 3/7] md: support to align bio to limits Yu Kuai
2025-11-22 21:20 ` kernel test robot
2025-11-21 5:14 ` [PATCH 4/7] md: add a helper md_config_align_limits() Yu Kuai
2025-11-21 5:14 ` [PATCH 5/7] md/raid5: align bio to io_opt Yu Kuai
2025-11-21 5:14 ` [PATCH 6/7] md/raid10: " Yu Kuai
2025-11-21 5:14 ` [PATCH 7/7] md/raid0: " Yu Kuai
2025-11-21 8:59 ` Paul Menzel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202511250848.gq6d7JeR-lkp@intel.com \
--to=lkp@intel.com \
--cc=linan122@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=song@kernel.org \
--cc=xni@redhat.com \
--cc=yukuai@fnnas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox