Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tty: hvc-iucv: Remove KMSG_COMPONENT macro

The KMSG_COMPONENT macro is a leftover of the s390 specific "kernel message
catalog" from 2008 [1] which never made it upstream.

The macro was added to s390 code to allow for an out-of-tree patch which
used this to generate unique message ids. Also this out-of-tree doesn't
exist anymore.

Remove the macro in order to get rid of a pointless indirection.

[1] https://lwn.net/Articles/292650/

Acked-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://patch.msgid.link/20251126142909.2140015-1-hca@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Heiko Carstens and committed by
Greg Kroah-Hartman
0e19f73f c7d8b85b

+2 -3
+2 -3
drivers/tty/hvc/hvc_iucv.c
··· 9 9 * 10 10 * Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com> 11 11 */ 12 - #define KMSG_COMPONENT "hvc_iucv" 13 - #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt 12 + #define pr_fmt(fmt) "hvc_iucv: " fmt 14 13 15 14 #include <linux/types.h> 16 15 #include <linux/slab.h> ··· 1343 1344 } 1344 1345 } 1345 1346 1346 - hvc_iucv_buffer_cache = kmem_cache_create(KMSG_COMPONENT, 1347 + hvc_iucv_buffer_cache = kmem_cache_create("hvc_iucv", 1347 1348 sizeof(struct iucv_tty_buffer), 1348 1349 0, 0, NULL); 1349 1350 if (!hvc_iucv_buffer_cache) {