Re: [PATCH v2] mtd: block2mtd: Fix divide error when erase_size is zero
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "linux-review patch is more than 7 days old, verify it wasn't already superseded" :::::: BCC: [email protected] CC: [email protected] In-Reply-To: <48230456575d27aa83ce8640de8fc07cc62e8efb.1786499433.git.xiaopei01@kylinos.cn> References: <48230456575d27aa83ce8640de8fc07cc62e8efb.1786499433.git.xiaopei01@kylinos.cn> TO: Pei Xiao <[email protected]> TO: [email protected] TO: [email protected] TO: [email protected] TO: [email protected] TO: [email protected] TO: [email protected] CC: Pei Xiao <[email protected]> CC: [email protected] CC: "Jörn Engel" <[email protected]> CC: [email protected] 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/[email protected]/config) compiler: sh4-linux-gcc (GCC) 13.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260821/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ 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