diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2025-11-20 16:30:53 +0100 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2025-11-24 11:45:21 +0100 |
| commit | c3d17464f0262c9e3c156d4c6306e32cf530fa47 (patch) | |
| tree | 0bd628a3731f1f58a090581ec4252759d243861f /drivers/char | |
| parent | e950d1f84d3c16e86dd1b6066c3ac3958099fa79 (diff) | |
| download | linux-c3d17464f0262c9e3c156d4c6306e32cf530fa47.tar.gz linux-c3d17464f0262c9e3c156d4c6306e32cf530fa47.tar.bz2 linux-c3d17464f0262c9e3c156d4c6306e32cf530fa47.zip | |
s390: Remove KMSG_COMPONENT macro
The KMSG_COMPONENT macro is a leftover of the s390 specific "kernel
message catalog" which never made it upstream.
Remove the macro in order to get rid of a pointless indirection. Replace
all users with the string it defines. In almost all cases this leads to a
simple replacement like this:
- #define KMSG_COMPONENT "appldata"
- #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+ #define pr_fmt(fmt) "appldata: " fmt
Except for some special cases this is just mechanical/scripted work.
Acked-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/char')
| -rw-r--r-- | drivers/char/hw_random/s390-trng.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/hw_random/s390-trng.c b/drivers/char/hw_random/s390-trng.c index d27e32e9bfee..3024d5e9fd61 100644 --- a/drivers/char/hw_random/s390-trng.c +++ b/drivers/char/hw_random/s390-trng.c @@ -9,8 +9,7 @@ * Author(s): Harald Freudenberger <freude@de.ibm.com> */ -#define KMSG_COMPONENT "trng" -#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt +#define pr_fmt(fmt) "trng: " fmt #include <linux/hw_random.h> #include <linux/kernel.h> |
