mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: John Ogness <john.ogness@linutronix.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Subject: [rt-devel:linux-5.18.y-rt-rebase 17/78] kernel/printk/printk.c:3221: undefined reference to `console_emit_next_record'
Date: Fri, 22 Apr 2022 17:48:12 +0800	[thread overview]
Message-ID: <202204221737.z626xFJ9-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.18.y-rt-rebase
head:   03e7725ddbfb0ffd7f3d7b257bfa504c6f795f6b
commit: 72b5c1227b73b2cde1452cfc58717cff442ed473 [17/78] serial: 8250: implement write_atomic
config: parisc-randconfig-r033-20220421 (https://download.01.org/0day-ci/archive/20220422/202204221737.z626xFJ9-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=72b5c1227b73b2cde1452cfc58717cff442ed473
        git remote add rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
        git fetch --no-tags rt-devel linux-5.18.y-rt-rebase
        git checkout 72b5c1227b73b2cde1452cfc58717cff442ed473
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   hppa-linux-ld: kernel/printk/printk.o: in function `atomic_console_flush_all':
>> kernel/printk/printk.c:3221: undefined reference to `console_emit_next_record'


vim +3221 kernel/printk/printk.c

943b66638a0519 John Ogness 2022-02-04  3200  
943b66638a0519 John Ogness 2022-02-04  3201  	printk_cpu_sync_get_irqsave(flags);
943b66638a0519 John Ogness 2022-02-04  3202  
943b66638a0519 John Ogness 2022-02-04  3203  	do {
943b66638a0519 John Ogness 2022-02-04  3204  		any_progress = false;
943b66638a0519 John Ogness 2022-02-04  3205  
943b66638a0519 John Ogness 2022-02-04  3206  		for_each_console(con) {
943b66638a0519 John Ogness 2022-02-04  3207  			bool progress;
943b66638a0519 John Ogness 2022-02-04  3208  
943b66638a0519 John Ogness 2022-02-04  3209  			if (!console_is_usable(con, true))
943b66638a0519 John Ogness 2022-02-04  3210  				continue;
943b66638a0519 John Ogness 2022-02-04  3211  			any_usable = true;
943b66638a0519 John Ogness 2022-02-04  3212  
943b66638a0519 John Ogness 2022-02-04  3213  			if (con->flags & CON_EXTENDED) {
943b66638a0519 John Ogness 2022-02-04  3214  				/* Extended consoles do not print "dropped messages". */
943b66638a0519 John Ogness 2022-02-04  3215  				progress = console_emit_next_record(con,
943b66638a0519 John Ogness 2022-02-04  3216  							&con->atomic_data->text[index],
943b66638a0519 John Ogness 2022-02-04  3217  							&con->atomic_data->ext_text[index],
943b66638a0519 John Ogness 2022-02-04  3218  							NULL,
943b66638a0519 John Ogness 2022-02-04  3219  							true);
943b66638a0519 John Ogness 2022-02-04  3220  			} else {
943b66638a0519 John Ogness 2022-02-04 @3221  				progress = console_emit_next_record(con,
943b66638a0519 John Ogness 2022-02-04  3222  							&con->atomic_data->text[index],
943b66638a0519 John Ogness 2022-02-04  3223  							NULL,
943b66638a0519 John Ogness 2022-02-04  3224  							&con->atomic_data->dropped_text[index],
943b66638a0519 John Ogness 2022-02-04  3225  							true);
943b66638a0519 John Ogness 2022-02-04  3226  			}
943b66638a0519 John Ogness 2022-02-04  3227  
943b66638a0519 John Ogness 2022-02-04  3228  			if (!progress)
943b66638a0519 John Ogness 2022-02-04  3229  				continue;
943b66638a0519 John Ogness 2022-02-04  3230  			any_progress = true;
943b66638a0519 John Ogness 2022-02-04  3231  
943b66638a0519 John Ogness 2022-02-04  3232  			touch_softlockup_watchdog_sync();
943b66638a0519 John Ogness 2022-02-04  3233  			clocksource_touch_watchdog();
943b66638a0519 John Ogness 2022-02-04  3234  			rcu_cpu_stall_reset();
943b66638a0519 John Ogness 2022-02-04  3235  			touch_nmi_watchdog();
943b66638a0519 John Ogness 2022-02-04  3236  		}
943b66638a0519 John Ogness 2022-02-04  3237  	} while (any_progress);
943b66638a0519 John Ogness 2022-02-04  3238  
943b66638a0519 John Ogness 2022-02-04  3239  	printk_cpu_sync_put_irqrestore(flags);
943b66638a0519 John Ogness 2022-02-04  3240  }
943b66638a0519 John Ogness 2022-02-04  3241  #else /* CONFIG_HAVE_ATOMIC_CONSOLE */
943b66638a0519 John Ogness 2022-02-04  3242  #define atomic_console_flush_all()
943b66638a0519 John Ogness 2022-02-04  3243  #endif
943b66638a0519 John Ogness 2022-02-04  3244  

:::::: The code at line 3221 was first introduced by commit
:::::: 943b66638a0519612cdc25dcb07f59af89d37407 printk: add infrastucture for atomic consoles

:::::: TO: John Ogness <john.ogness@linutronix.de>
:::::: CC: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-04-22  9:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202204221737.z626xFJ9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bigeasy@linutronix.de \
    --cc=john.ogness@linutronix.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®