linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] printk regression fixes for 5.11-rc5
@ 2021-01-21 16:04 Petr Mladek
  2021-01-21 19:48 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Mladek @ 2021-01-21 16:04 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Sergey Senozhatsky, Steven Rostedt, John Ogness, Peter Zijlstra,
	linux-kernel

Linus,

please pull three printk fixes from

  git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-5.11-printk-rework-fixup

===============================

- Fix line counting and buffer size calculation. Both regressions
  caused that a reader buffer might not get filled as much as possible.

- Restore non-documented behavior of printk() reader API and make it
  official. It did not fill the last byte of the provided buffer before
  5.10. Two architectures, powerpc and um, used it to add
  the trailing '\0'. There might theoretically be more callers
  depending on this behavior in userspace.

===============================

All three regressions were found and fixed by John when
working on another changes.

----------------------------------------------------------------
John Ogness (3):
      printk: ringbuffer: fix line counting
      printk: fix kmsg_dump_get_buffer length calulations
      printk: fix buffer overflow potential for print_text()

Petr Mladek (1):
      Merge branch 'printk-rework' into for-linus

 kernel/printk/printk.c            | 40 ++++++++++++++++++++++++++++-----------
 kernel/printk/printk_ringbuffer.c |  2 +-
 2 files changed, 30 insertions(+), 12 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] printk regression fixes for 5.11-rc5
  2021-01-21 16:04 [GIT PULL] printk regression fixes for 5.11-rc5 Petr Mladek
@ 2021-01-21 19:48 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2021-01-21 19:48 UTC (permalink / raw)
  To: Petr Mladek
  Cc: Linus Torvalds, Sergey Senozhatsky, Steven Rostedt, John Ogness,
	Peter Zijlstra, linux-kernel

The pull request you sent on Thu, 21 Jan 2021 17:04:01 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-5.11-printk-rework-fixup

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2561bbbe2e959c966e21ee23de91b9bd4bbf98af

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-21 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 16:04 [GIT PULL] printk regression fixes for 5.11-rc5 Petr Mladek
2021-01-21 19:48 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).