• Linus Torvalds's avatar
    Merge tag 'printk-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux · e563592c
    Linus Torvalds authored
    Pull printk updates from Petr Mladek:
    
     - Add %pt[RT]s modifier to vsprintf(). It overrides ISO 8601 separator
       by using ' ' (space). It produces "YYYY-mm-dd HH:MM:SS" instead of
       "YYYY-mm-ddTHH:MM:SS".
    
     - Correctly parse long row of numbers by sscanf() when using the field
       width. Add extensive sscanf() selftest.
    
     - Generalize re-entrant CPU lock that has already been used to
       serialize dump_stack() output. It is part of the ongoing printk
       rework. It will allow to remove the obsoleted printk_safe buffers and
       introduce atomic consoles.
    
     - Some code clean up and sparse warning fixes.
    
    * tag 'printk-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
      printk: fix cpu lock ordering
      lib/dump_stack: move cpu lock to printk.c
      printk: Remove trailing semicolon in macros
      random32: Fix implicit truncation warning in prandom_seed_state()
      lib: test_scanf: Remove pointless use of ty...
    e563592c
vsprintf.c 86.7 KB