All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: Re: [PATCH v2] mtd: block2mtd: Fix divide error when erase_size is zero
Date: Fri, 21 Aug 2026 12:45:14 +0800	[thread overview]
Message-ID: <202608211251.8RIgwpgB-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "linux-review patch is more than 7 days old, verify it wasn't already superseded"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <48230456575d27aa83ce8640de8fc07cc62e8efb.1786499433.git.xiaopei01@kylinos.cn>
References: <48230456575d27aa83ce8640de8fc07cc62e8efb.1786499433.git.xiaopei01@kylinos.cn>
TO: Pei Xiao <xiaopei01@kylinos.cn>
TO: joern@lazybastard.org
TO: miquel.raynal@bootlin.com
TO: richard@nod.at
TO: vigneshr@ti.com
TO: linux-mtd@lists.infradead.org
TO: linux-kernel@vger.kernel.org
CC: Pei Xiao <xiaopei01@kylinos.cn>
CC: syzbot+b320a4d5f65a61dbbf89@syzkaller.appspotmail.com
CC: "Jörn Engel" <joern@barelysecure.org>
CC: stable@vger.kernel.org

Hi Pei,

kernel test robot noticed the following build errors:

[auto build test ERROR on mtd/mtd/next]
[also build test ERROR on mtd/mtd/fixes linus/master v7.2 next-20260819]
[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/Pei-Xiao/mtd-block2mtd-Fix-divide-error-when-erase_size-is-zero/20260812-095242
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next
patch link:    https://lore.kernel.org/r/48230456575d27aa83ce8640de8fc07cc62e8efb.1786499433.git.xiaopei01%40kylinos.cn
patch subject: [PATCH v2] mtd: block2mtd: Fix divide error when erase_size is zero
:::::: branch date: 22 hours ago
:::::: commit date: 22 hours ago
config: sh-randconfig-002-20260821 (https://download.01.org/0day-ci/archive/20260821/202608211251.8RIgwpgB-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260821/202608211251.8RIgwpgB-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/r/202608211251.8RIgwpgB-lkp@intel.com/

All errors (new ones prefixed by >>):

   sh4-linux-ld: drivers/mtd/devices/block2mtd.o: in function `block2mtd_free_device':
>> drivers/mtd/devices/block2mtd.c:215:(.text+0x670): undefined reference to `__moddi3'


vim +215 drivers/mtd/devices/block2mtd.c

^1da177e4c3f41 Linus Torvalds    2005-04-16  201  
^1da177e4c3f41 Linus Torvalds    2005-04-16  202  
^1da177e4c3f41 Linus Torvalds    2005-04-16  203  static void block2mtd_free_device(struct block2mtd_dev *dev)
^1da177e4c3f41 Linus Torvalds    2005-04-16  204  {
^1da177e4c3f41 Linus Torvalds    2005-04-16  205  	if (!dev)
^1da177e4c3f41 Linus Torvalds    2005-04-16  206  		return;
^1da177e4c3f41 Linus Torvalds    2005-04-16  207  
^1da177e4c3f41 Linus Torvalds    2005-04-16  208  	kfree(dev->mtd.name);
^1da177e4c3f41 Linus Torvalds    2005-04-16  209  
f9d8c3c4236ef2 Christian Brauner 2024-01-23  210  	if (dev->bdev_file) {
f9d8c3c4236ef2 Christian Brauner 2024-01-23  211  		invalidate_mapping_pages(dev->bdev_file->f_mapping, 0, -1);
22650a99821dda Christian Brauner 2024-03-26  212  		bdev_fput(dev->bdev_file);
^1da177e4c3f41 Linus Torvalds    2005-04-16  213  	}
^1da177e4c3f41 Linus Torvalds    2005-04-16  214  
^1da177e4c3f41 Linus Torvalds    2005-04-16 @215  	kfree(dev);
^1da177e4c3f41 Linus Torvalds    2005-04-16  216  }
^1da177e4c3f41 Linus Torvalds    2005-04-16  217  

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2026-08-21  4:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21  4:45 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-08-21  4:03 [PATCH v2] mtd: block2mtd: Fix divide error when erase_size is zero kernel test robot
2026-08-12  1:52 Pei Xiao
2026-08-12  1:52 ` Pei Xiao
2026-08-12 12:34 ` Miquel Raynal
2026-08-12 12:34   ` Miquel Raynal
2026-08-13  2:30   ` Pei Xiao
2026-08-13  2:30     ` Pei Xiao

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=202608211251.8RIgwpgB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /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 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.