Merge tag 'printk-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/printk...
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Oct 2022 18:24:19 +0000 (11:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Oct 2022 18:24:19 +0000 (11:24 -0700)
Pull printk updates from Petr Mladek:

 - Initialize pointer hashing using the system workqueue. It avoids
   taking locks in printk()/vsprintf() code path

 - Misc code clean up

* tag 'printk-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
  printk: Mark __printk percpu data ready __ro_after_init
  printk: Remove bogus comment vs. boot consoles
  printk: Remove write only variable nr_ext_console_drivers
  printk: Declare log_wait properly
  printk: Make pr_flush() static
  lib/vsprintf: Initialize vsprintf's pointer hash once the random core is ready.
  lib/vsprintf: Remove static_branch_likely() from __ptr_to_hashval().
  lib/vnsprintf: add const modifier for param 'bitmap'

1  2 
fs/proc/kmsg.c
lib/vsprintf.c

diff --cc fs/proc/kmsg.c
index 592e6dc7c1102b54ea136b21e9b42b711ba09702,9d6950ac10fe8780cc8949e2dfc954187be3cc27..2fc92a13f9f8f46a1f51a6882cddbd0c1125e184
  #include <linux/fs.h>
  #include <linux/syslog.h>
  
 -#include <linux/uaccess.h>
  #include <asm/io.h>
  
- extern wait_queue_head_t log_wait;
  static int kmsg_open(struct inode * inode, struct file * file)
  {
        return do_syslog(SYSLOG_ACTION_OPEN, NULL, 0, SYSLOG_FROM_PROC);
diff --cc lib/vsprintf.c
Simple merge