Hi Christoph,
I love your patch! Yet something to improve:
[auto build test ERROR on kees/for-next/pstore]
[also build test ERROR on ia64/next linus/master v5.9]
[cannot apply to next-20201016]
[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/Christoph-Hellwig/pstore-zone-ca...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore
config: m68k-randconfig-r004-20201016 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/a5c145d5f37504bf661cea0d7ac72d45b...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Christoph-Hellwig/pstore-zone-cap-the-maximum-device-size/20201016-222110
git checkout a5c145d5f37504bf661cea0d7ac72d45b88ebbcc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
m68k-linux-ld: init/main.o: in function `kernel_init_freeable':
> init/main.c:1527: undefined reference to
`pstore_blk_early_init'
vim +1527 init/main.c
b49a733d684e00 Dominik Brodowski 2018-10-23 1478
f80b0c904da93b Vineet Gupta 2012-12-21 1479 static noinline void __init
kernel_init_freeable(void)
^1da177e4c3f41 Linus Torvalds 2005-04-16 1480 {
b433c3d4549ae7 Peter Zijlstra 2010-06-28 1481 /*
b433c3d4549ae7 Peter Zijlstra 2010-06-28 1482 * Wait until kthreadd is all set-up.
b433c3d4549ae7 Peter Zijlstra 2010-06-28 1483 */
b433c3d4549ae7 Peter Zijlstra 2010-06-28 1484
wait_for_completion(&kthreadd_done);
31a67102f4762d Linus Torvalds 2012-05-21 1485
31a67102f4762d Linus Torvalds 2012-05-21 1486 /* Now the scheduler is fully set up
and can do blocking allocations */
31a67102f4762d Linus Torvalds 2012-05-21 1487 gfp_allowed_mask = __GFP_BITS_MASK;
31a67102f4762d Linus Torvalds 2012-05-21 1488
58568d2a8215cb Miao Xie 2009-06-16 1489 /*
58568d2a8215cb Miao Xie 2009-06-16 1490 * init can allocate pages on any
node
58568d2a8215cb Miao Xie 2009-06-16 1491 */
3c466d46a9f38d Lai Jiangshan 2012-12-12 1492
set_mems_allowed(node_states[N_MEMORY]);
^1da177e4c3f41 Linus Torvalds 2005-04-16 1493
9ec52099e4b867 Cedric Le Goater 2006-10-02 1494 cad_pid = task_pid(current);
9ec52099e4b867 Cedric Le Goater 2006-10-02 1495
ca74a6f84e68b4 Andi Kleen 2008-01-30 1496 smp_prepare_cpus(setup_max_cpus);
^1da177e4c3f41 Linus Torvalds 2005-04-16 1497
3347fa0928210d Tejun Heo 2016-09-16 1498 workqueue_init();
3347fa0928210d Tejun Heo 2016-09-16 1499
597b7305dd8baf Michal Hocko 2017-03-31 1500 init_mm_internals();
597b7305dd8baf Michal Hocko 2017-03-31 1501
^1da177e4c3f41 Linus Torvalds 2005-04-16 1502 do_pre_smp_initcalls();
004417a6d468e2 Peter Zijlstra 2010-11-25 1503 lockup_detector_init();
^1da177e4c3f41 Linus Torvalds 2005-04-16 1504
^1da177e4c3f41 Linus Torvalds 2005-04-16 1505 smp_init();
^1da177e4c3f41 Linus Torvalds 2005-04-16 1506 sched_init_smp();
^1da177e4c3f41 Linus Torvalds 2005-04-16 1507
f1b192b117cd41 Daniel Jordan 2020-06-03 1508 padata_init();
0e1cc95b4cc729 Mel Gorman 2015-06-30 1509 page_alloc_init_late();
2f1ee0913ce58e Qian Cai 2019-02-12 1510 /* Initialize page ext after all
struct pages are initialized. */
2f1ee0913ce58e Qian Cai 2019-02-12 1511 page_ext_init();
0e1cc95b4cc729 Mel Gorman 2015-06-30 1512
^1da177e4c3f41 Linus Torvalds 2005-04-16 1513 do_basic_setup();
^1da177e4c3f41 Linus Torvalds 2005-04-16 1514
b49a733d684e00 Dominik Brodowski 2018-10-23 1515 console_on_rootfs();
2bd3a997befc22 Eric W. Biederman 2010-03-02 1516
^1da177e4c3f41 Linus Torvalds 2005-04-16 1517 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 1518 * check if there is an early
userspace init. If yes, let it do all
^1da177e4c3f41 Linus Torvalds 2005-04-16 1519 * the work
^1da177e4c3f41 Linus Torvalds 2005-04-16 1520 */
eb9d7d390e5110 Christoph Hellwig 2020-07-22 1521 if
(init_eaccess(ramdisk_execute_command) != 0) {
ffdfc40976dda1 Olof Johansson 2005-09-06 1522 ramdisk_execute_command = NULL;
^1da177e4c3f41 Linus Torvalds 2005-04-16 1523 prepare_namespace();
ffdfc40976dda1 Olof Johansson 2005-09-06 1524 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 1525
796d214cf62d9b Christoph Hellwig 2020-10-16 1526 if (IS_BUILTIN(CONFIG_PSTORE_BLK))
796d214cf62d9b Christoph Hellwig 2020-10-16 @1527 pstore_blk_early_init();
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org