lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204221737.z626xFJ9-lkp@intel.com>
Date:   Fri, 22 Apr 2022 17:48:12 +0800
From:   kernel test robot <lkp@...el.com>
To:     John Ogness <john.ogness@...utronix.de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Subject: [rt-devel:linux-5.18.y-rt-rebase 17/78] kernel/printk/printk.c:3221:
 undefined reference to `console_emit_next_record'

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@...el.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@...utronix.de>
:::::: CC: Sebastian Andrzej Siewior <bigeasy@...utronix.de>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ