]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lib/bug: cleanup comment style, types and modernize logging
authorLucas Poupeau <lucasp.linux@gmail.com>
Mon, 4 May 2026 20:16:07 +0000 (22:16 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 May 2026 04:24:49 +0000 (21:24 -0700)
commit1c56b9cb489e7aa820dd61860e3dd892bdebe80c
tree86f1cd2008a486a55845aec514a52134e1443370
parentc210dfaa2720fcad9cbc8ec30fb45ddbabee4bf8
lib/bug: cleanup comment style, types and modernize logging

Improve the overall code quality of lib/bug.c by:
- Reformatting the main documentation block to follow the standard
  kernel multi-line comment style.
- Replacing 'unsigned' with the preferred 'unsigned int'.
- Converting legacy printk() calls to modern pr_warn() and pr_info()
  macros to include proper facility levels and satisfy checkpatch.

Link: https://lore.kernel.org/20260504201607.56932-1-lucasp.linux@gmail.com
Signed-off-by: Lucas Poupeau <lucasp.linux@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/bug.c