[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202407231117.SngBfEcI-lkp@intel.com>
Date: Tue, 23 Jul 2024 11:18:08 +0800
From: kernel test robot <lkp@...el.com>
To: John Ogness <john.ogness@...utronix.de>, Petr Mladek <pmladek@...e.com>
Cc: oe-kbuild-all@...ts.linux.dev,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Steven Rostedt <rostedt@...dmis.org>,
Thomas Gleixner <tglx@...utronix.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH printk v3 11/19] printk: nbcon: Rely on kthreads for
normal operation
Hi John,
kernel test robot noticed the following build errors:
[auto build test ERROR on b18703ea7157f62f02eb0ceb11f6fa0138e90adc]
url: https://github.com/intel-lab-lkp/linux/commits/John-Ogness/printk-nbcon-Clarify-nbcon_get_default_prio-context/20240723-015154
base: b18703ea7157f62f02eb0ceb11f6fa0138e90adc
patch link: https://lore.kernel.org/r/20240722171939.3349410-12-john.ogness%40linutronix.de
patch subject: [PATCH printk v3 11/19] printk: nbcon: Rely on kthreads for normal operation
config: x86_64-buildonly-randconfig-002-20240723 (https://download.01.org/0day-ci/archive/20240723/202407231117.SngBfEcI-lkp@intel.com/config)
compiler: gcc-10 (Ubuntu 10.5.0-1ubuntu1) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240723/202407231117.SngBfEcI-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407231117.SngBfEcI-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/printk/printk.c:62:
kernel/printk/internal.h: In function 'printk_get_console_flush_type':
kernel/printk/internal.h:219:26: error: implicit declaration of function 'is_printk_deferred'; did you mean '_printk_deferred'? [-Werror=implicit-function-declaration]
219 | if (prefer_offload || is_printk_deferred())
| ^~~~~~~~~~~~~~~~~~
| _printk_deferred
kernel/printk/printk.c: In function 'resume_console':
>> kernel/printk/printk.c:2706:3: error: implicit declaration of function 'nbcon_wake_kthreads'; did you mean 'irq_wake_thread'? [-Werror=implicit-function-declaration]
2706 | nbcon_wake_kthreads();
| ^~~~~~~~~~~~~~~~~~~
| irq_wake_thread
cc1: some warnings being treated as errors
vim +2706 kernel/printk/printk.c
2683
2684 void resume_console(void)
2685 {
2686 struct console_flush_type ft;
2687 struct console *con;
2688
2689 if (!console_suspend_enabled)
2690 return;
2691
2692 console_list_lock();
2693 for_each_console(con)
2694 console_srcu_write_flags(con, con->flags & ~CON_SUSPENDED);
2695 console_list_unlock();
2696
2697 /*
2698 * Ensure that all SRCU list walks have completed. All printing
2699 * contexts must be able to see they are no longer suspended so
2700 * that they are guaranteed to wake up and resume printing.
2701 */
2702 synchronize_srcu(&console_srcu);
2703
2704 printk_get_console_flush_type(&ft, true);
2705 if (ft.nbcon_offload)
> 2706 nbcon_wake_kthreads();
2707
2708 pr_flush(1000, true);
2709 }
2710
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists