]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
s390: Remove KMSG_COMPONENT macro
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 20 Nov 2025 15:30:53 +0000 (16:30 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 24 Nov 2025 10:45:21 +0000 (11:45 +0100)
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>
117 files changed:
arch/s390/appldata/appldata_base.c
arch/s390/appldata/appldata_os.c
arch/s390/crypto/aes_s390.c
arch/s390/crypto/hmac_s390.c
arch/s390/crypto/paes_s390.c
arch/s390/crypto/phmac_s390.c
arch/s390/crypto/prng.c
arch/s390/hypfs/hypfs_diag.c
arch/s390/hypfs/hypfs_diag_fs.c
arch/s390/hypfs/inode.c
arch/s390/kernel/cpacf.c
arch/s390/kernel/cpcmd.c
arch/s390/kernel/debug.c
arch/s390/kernel/early.c
arch/s390/kernel/hiperdispatch.c
arch/s390/kernel/os_info.c
arch/s390/kernel/perf_cpum_cf.c
arch/s390/kernel/perf_cpum_sf.c
arch/s390/kernel/perf_event.c
arch/s390/kernel/perf_pai.c
arch/s390/kernel/processor.c
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c
arch/s390/kernel/time.c
arch/s390/kernel/topology.c
arch/s390/kernel/uv.c
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c
arch/s390/mm/extmem.c
arch/s390/mm/hugetlbpage.c
arch/s390/net/bpf_jit_comp.c
arch/s390/pci/pci.c
arch/s390/pci/pci_bus.c
arch/s390/pci/pci_clp.c
arch/s390/pci/pci_debug.c
arch/s390/pci/pci_event.c
arch/s390/pci/pci_iov.c
arch/s390/pci/pci_irq.c
arch/s390/pci/pci_report.c
arch/s390/pci/pci_sysfs.c
drivers/char/hw_random/s390-trng.c
drivers/pci/hotplug/s390_pci_hpc.c
drivers/s390/block/dasd_fba.c
drivers/s390/block/dcssblk.c
drivers/s390/block/scm_blk.c
drivers/s390/block/scm_drv.c
drivers/s390/char/diag_ftp.c
drivers/s390/char/hmcdrv_cache.c
drivers/s390/char/hmcdrv_dev.c
drivers/s390/char/hmcdrv_ftp.c
drivers/s390/char/hmcdrv_mod.c
drivers/s390/char/monreader.c
drivers/s390/char/monwriter.c
drivers/s390/char/sclp_ap.c
drivers/s390/char/sclp_cmd.c
drivers/s390/char/sclp_config.c
drivers/s390/char/sclp_cpi_sys.c
drivers/s390/char/sclp_early.c
drivers/s390/char/sclp_ftp.c
drivers/s390/char/sclp_mem.c
drivers/s390/char/sclp_ocf.c
drivers/s390/char/sclp_pci.c
drivers/s390/char/sclp_sd.c
drivers/s390/char/sclp_sdias.c
drivers/s390/char/tape_34xx.c
drivers/s390/char/tape_3590.c
drivers/s390/char/tape_char.c
drivers/s390/char/tape_class.c
drivers/s390/char/tape_core.c
drivers/s390/char/tape_proc.c
drivers/s390/char/tape_std.c
drivers/s390/char/vmlogrdr.c
drivers/s390/char/vmur.c
drivers/s390/char/zcore.c
drivers/s390/cio/blacklist.c
drivers/s390/cio/ccwreq.c
drivers/s390/cio/chsc.c
drivers/s390/cio/cio.c
drivers/s390/cio/cio_inject.c
drivers/s390/cio/cmf.c
drivers/s390/cio/css.c
drivers/s390/cio/device.c
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_card.c
drivers/s390/crypto/ap_queue.c
drivers/s390/crypto/pkey_api.c
drivers/s390/crypto/pkey_base.c
drivers/s390/crypto/pkey_cca.c
drivers/s390/crypto/pkey_ep11.c
drivers/s390/crypto/pkey_pckmo.c
drivers/s390/crypto/pkey_sysfs.c
drivers/s390/crypto/pkey_uv.c
drivers/s390/crypto/zcrypt_api.c
drivers/s390/crypto/zcrypt_ccamisc.c
drivers/s390/crypto/zcrypt_ep11misc.c
drivers/s390/crypto/zcrypt_msgtype50.c
drivers/s390/crypto/zcrypt_msgtype6.c
drivers/s390/net/ctcm_fsms.c
drivers/s390/net/ctcm_main.c
drivers/s390/net/ctcm_mpc.c
drivers/s390/net/ctcm_sysfs.c
drivers/s390/net/ism_drv.c
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_core_sys.c
drivers/s390/net/qeth_ethtool.c
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c
drivers/s390/net/smsgiucv_app.c
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_ccw.c
drivers/s390/scsi/zfcp_dbf.c
drivers/s390/scsi/zfcp_erp.c
drivers/s390/scsi/zfcp_fc.c
drivers/s390/scsi/zfcp_fsf.c
drivers/s390/scsi/zfcp_qdio.c
drivers/s390/scsi/zfcp_scsi.c
drivers/s390/scsi/zfcp_sysfs.c

index ad2b0baa527c2340ec4c48965cfb154cd4c1be2c..feb43db63f3078ceafd3b778a7340b791f672049 100644 (file)
@@ -9,8 +9,7 @@
  * Author: Gerald Schaefer <gerald.schaefer@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "appldata"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "appldata: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index a363d30ce73993869eff39d0de6bfef643c89e64..137d4e7e1e9aac20bad36122ed8953d8af2a3c18 100644 (file)
@@ -8,8 +8,7 @@
  * Author: Gerald Schaefer <gerald.schaefer@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "appldata"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "appldata: " fmt
 
 #include <linux/module.h>
 #include <linux/init.h>
index 5d36f4020dfa3b03049aba5fa857efc394b48994..d0a2954356805dfdac98e0a5c2fc10af4a67993a 100644 (file)
@@ -14,8 +14,7 @@
  * Derived from "crypto/aes_generic.c"
  */
 
-#define KMSG_COMPONENT "aes_s390"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "aes_s390: " fmt
 
 #include <crypto/aes.h>
 #include <crypto/algapi.h>
index 58444da9b004cd2dc46b3fbf8743d05aea58b6da..f8cd09f341d4b077669a38522916391a5699c5a1 100644 (file)
@@ -5,8 +5,7 @@
  * s390 specific HMAC support.
  */
 
-#define KMSG_COMPONENT "hmac_s390"
-#define pr_fmt(fmt)    KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hmac_s390: " fmt
 
 #include <asm/cpacf.h>
 #include <crypto/internal/hash.h>
index a624a43a2b5400d2eeb63c6f05a3662bb299aca1..64aef7eb20308cebba25d2dff4490223c6b9cf2b 100644 (file)
@@ -10,8 +10,7 @@
  *             Harald Freudenberger <freude@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "paes_s390"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "paes_s390: " fmt
 
 #include <linux/atomic.h>
 #include <linux/cpufeature.h>
index 7ecfdc4fba2d0af09bdbdabbc00a103a682d7f14..918e07867eba304d81e80cf241a8b3e27ed9024b 100644 (file)
@@ -5,8 +5,7 @@
  * s390 specific HMAC support for protected keys.
  */
 
-#define KMSG_COMPONENT "phmac_s390"
-#define pr_fmt(fmt)    KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "phmac_s390: " fmt
 
 #include <asm/cpacf.h>
 #include <asm/pkey.h>
index 2becd77df741e576a32ac507b1b7d7cdae32e71e..84e3d3c6ba09dd515b434e87aa3707fdbf1281ed 100644 (file)
@@ -6,8 +6,7 @@
  * Driver for the s390 pseudo random number generator
  */
 
-#define KMSG_COMPONENT "prng"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "prng: " fmt
 
 #include <linux/fs.h>
 #include <linux/fips.h>
index c8af67d2099417134cf2aabfd230bfd4e53ca40e..08777f57bd244aef2ba4fe5779125320e6e0a30c 100644 (file)
@@ -7,8 +7,7 @@
  *    Author(s): Michael Holzheu <holzheu@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "hypfs"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hypfs: " fmt
 
 #include <linux/types.h>
 #include <linux/errno.h>
index ede951dc008587ffb87eecd63654685722a6522a..013da4ff9802e2ca84c101c92ec6feeda56b245a 100644 (file)
@@ -7,8 +7,7 @@
  *    Author(s): Michael Holzheu <holzheu@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "hypfs"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hypfs: " fmt
 
 #include <linux/types.h>
 #include <linux/errno.h>
index 96409573c75dd5f71543be3baa8a67fb0c9a38a9..ee5cfa8f71a0ea3ec17f0e2f0942eb5fbca2e14b 100644 (file)
@@ -6,8 +6,7 @@
  *    Author(s): Michael Holzheu <holzheu@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "hypfs"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hypfs: " fmt
 
 #include <linux/types.h>
 #include <linux/errno.h>
index 3bebc47beeab680c53a713fee1435e22125eab3c..9d85b4bc70360f090e8a087dc560c3f7dc72dd0c 100644 (file)
@@ -3,8 +3,7 @@
  * Copyright IBM Corp. 2024
  */
 
-#define KMSG_COMPONENT "cpacf"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cpacf: " fmt
 
 #include <linux/cpu.h>
 #include <linux/device.h>
index 2f4174b961def0b3be4fde87e23f3ba3c1ef0b10..ab611764642a5b07754a89815506aa8316451584 100644 (file)
@@ -6,8 +6,7 @@
  *               Christian Borntraeger (cborntra@de.ibm.com),
  */
 
-#define KMSG_COMPONENT "cpcmd"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cpcmd: " fmt
 
 #include <linux/kernel.h>
 #include <linux/export.h>
index 6a26f202441d3a8090419bf379adc2b7cac3870b..71cdb6845dd79cf61910f11aeebec47455a7b0f8 100644 (file)
@@ -10,8 +10,7 @@
  *    Bugreports to: <Linux390@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "s390dbf"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "s390dbf: " fmt
 
 #include <linux/stddef.h>
 #include <linux/kernel.h>
index f4cab46a3e66fbae40f48a20a68fc391de48c1b7..b27239c03d7992b4db6a1820399b0d7aeb369dbe 100644 (file)
@@ -4,8 +4,7 @@
  *    Author(s): Hongjie Yang <hongjie@us.ibm.com>,
  */
 
-#define KMSG_COMPONENT "setup"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "setup: " fmt
 
 #include <linux/sched/debug.h>
 #include <linux/cpufeature.h>
index 7ad134cc9ad3326706201812ef631ead8ee0abd2..2172065222661b4cc883f89596bd8da19b3c2f44 100644 (file)
@@ -3,8 +3,7 @@
  * Copyright IBM Corp. 2024
  */
 
-#define KMSG_COMPONENT "hd"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hd: " fmt
 
 /*
  * Hiperdispatch:
index c2a4689862120b8bdea2503864cf909769ce9260..94fa44776d0c313dc91b561e4011a807f325fe2e 100644 (file)
@@ -6,8 +6,7 @@
  * Author(s): Michael Holzheu <holzheu@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "os_info"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "os_info: " fmt
 
 #include <linux/crash_dump.h>
 #include <linux/kernel.h>
index b7fa9712ee1ed9d3b51be8bf3375fd8cad15da96..408ab93112bf8c8c76198db6511a3a12bc92cb04 100644 (file)
@@ -6,8 +6,7 @@
  *  Author(s): Hendrik Brueckner <brueckner@linux.ibm.com>
  *            Thomas Richter <tmricht@linux.ibm.com>
  */
-#define KMSG_COMPONENT "cpum_cf"
-#define pr_fmt(fmt)    KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cpum_cf: " fmt
 
 #include <linux/kernel.h>
 #include <linux/kernel_stat.h>
@@ -1206,7 +1205,7 @@ static int __init cpumf_pmu_init(void)
        }
 
        /* Setup s390dbf facility */
-       cf_dbg = debug_register(KMSG_COMPONENT, 2, 1, 128);
+       cf_dbg = debug_register("cpum_cf", 2, 1, 128);
        if (!cf_dbg) {
                pr_err("Registration of s390dbf(cpum_cf) failed\n");
                rc = -ENOMEM;
index bf816b134fb1e2213deca60242bd55253e1b189c..459af23a47a5e31fce01d4b56bd47aacc8d5735a 100644 (file)
@@ -5,8 +5,7 @@
  * Copyright IBM Corp. 2013, 2018
  * Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
  */
-#define KMSG_COMPONENT "cpum_sf"
-#define pr_fmt(fmt)    KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cpum_sf: " fmt
 
 #include <linux/kernel.h>
 #include <linux/kernel_stat.h>
@@ -2070,7 +2069,7 @@ static int __init init_cpum_sampling_pmu(void)
                        CPUMF_EVENT_PTR(SF, SF_CYCLES_BASIC_DIAG);
        }
 
-       sfdbg = debug_register(KMSG_COMPONENT, 2, 1, 80);
+       sfdbg = debug_register("cpum_sf", 2, 1, 80);
        if (!sfdbg) {
                pr_err("Registering for s390dbf failed\n");
                return -ENOMEM;
index 2de1574d95b2db6620c36efc77e8a18351e44394..606750bae508dfcd6a413989ce1929d4302f6876 100644 (file)
@@ -5,8 +5,7 @@
  *  Copyright IBM Corp. 2012, 2013
  *  Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
  */
-#define KMSG_COMPONENT "perf"
-#define pr_fmt(fmt)    KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "perf: " fmt
 
 #include <linux/kernel.h>
 #include <linux/perf_event.h>
index c79864628582c52d055a7771791c8fb51185a567..810f5b6c5e010ebf240996f30ee73b13ae049bb3 100644 (file)
@@ -5,8 +5,7 @@
  *  Copyright IBM Corp. 2026
  *  Author(s): Thomas Richter <tmricht@linux.ibm.com>
  */
-#define KMSG_COMPONENT "pai"
-#define pr_fmt(fmt)    KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "pai: " fmt
 
 #include <linux/kernel.h>
 #include <linux/kernel_stat.h>
@@ -1212,9 +1211,9 @@ static int __init paipmu_setup(void)
 static int __init pai_init(void)
 {
        /* Setup s390dbf facility */
-       paidbg = debug_register(KMSG_COMPONENT, 32, 256, 128);
+       paidbg = debug_register("pai", 32, 256, 128);
        if (!paidbg) {
-               pr_err("Registration of s390dbf " KMSG_COMPONENT " failed\n");
+               pr_err("Registration of s390dbf pai failed\n");
                return -ENOMEM;
        }
        debug_register_view(paidbg, &debug_sprintf_view);
index 11f70c1e2797cb1c44479d261b526f4a2232ac59..e33a3eccda568857af4a164acf975a399f5bbd57 100644 (file)
@@ -4,8 +4,7 @@
  *  Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
  */
 
-#define KMSG_COMPONENT "cpu"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cpu: " fmt
 
 #include <linux/stop_machine.h>
 #include <linux/cpufeature.h>
index 3c50246dc8c5d8340b52b154640750ec0b3b91ee..1edb2281e7b0b4c18e8d2c543af662e77cc59e66 100644 (file)
@@ -13,8 +13,7 @@
  * This file handles the architecture-dependent parts of initialization
  */
 
-#define KMSG_COMPONENT "setup"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "setup: " fmt
 
 #include <linux/errno.h>
 #include <linux/export.h>
index b0da25159f06c92c5e3328d792df0eb882164e64..25240be74c21cb809d58d7749376c25b606843dd 100644 (file)
@@ -15,8 +15,7 @@
  * operates on physical cpu numbers needs to go into smp.c.
  */
 
-#define KMSG_COMPONENT "cpu"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cpu: " fmt
 
 #include <linux/cpufeature.h>
 #include <linux/workqueue.h>
index 63517b85f4c930b799235c381d9d6b263fff5431..bd0df61d190779a17d26f9c7b204fa0a15f36161 100644 (file)
@@ -12,8 +12,7 @@
  *    Copyright (C) 1991, 1992, 1995  Linus Torvalds
  */
 
-#define KMSG_COMPONENT "time"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "time: " fmt
 
 #include <linux/kernel_stat.h>
 #include <linux/errno.h>
index 1594c80e9bc4db1936f44df805b0777af6e08658..1913a5566ac2b8609e97c2cc5378568dfd9a6f7d 100644 (file)
@@ -3,8 +3,7 @@
  *    Copyright IBM Corp. 2007, 2011
  */
 
-#define KMSG_COMPONENT "cpu"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cpu: " fmt
 
 #include <linux/cpufeature.h>
 #include <linux/workqueue.h>
index 5d17609bcfe1dec5e44dbc2693fed649e60af888..ed46950be86f2f249bf10f4567c37355d7832d84 100644 (file)
@@ -4,8 +4,7 @@
  *
  * Copyright IBM Corp. 2019, 2024
  */
-#define KMSG_COMPONENT "prot_virt"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "prot_virt: " fmt
 
 #include <linux/export.h>
 #include <linux/kernel.h>
index c62a868cf2b6ea08273db05c9813f51ecade2086..f55574af98cc7e54724fcc9d3f8319c77d47c937 100644 (file)
@@ -7,8 +7,7 @@
  *    Author(s): Carsten Otte <cotte@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "kvm-s390"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "kvm-s390: " fmt
 
 #include <linux/cpufeature.h>
 #include <linux/interrupt.h>
index 16ba04062854a99ab7d48ac427b690006ea8e7eb..ff3a185f156c96e483749a412192e59247494e06 100644 (file)
@@ -10,8 +10,7 @@
  *               Jason J. Herne <jjherne@us.ibm.com>
  */
 
-#define KMSG_COMPONENT "kvm-s390"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "kvm-s390: " fmt
 
 #include <linux/compiler.h>
 #include <linux/export.h>
index b6464a322eb14a0db414a1ce73f1ae44f4a44fcf..6cc33c705de2fa2e6f6eddfb17955e1701d98147 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright IBM Corp. 2002, 2004
  */
 
-#define KMSG_COMPONENT "extmem"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "extmem: " fmt
 
 #include <linux/kernel.h>
 #include <linux/string.h>
index 72e8fa136af56cdf37ee014bded61c20424bad06..d42e61c7594eac4486835d152537696f3896faf4 100644 (file)
@@ -6,8 +6,7 @@
  *    Author(s): Gerald Schaefer <gerald.schaefer@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "hugetlb"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hugetlb: " fmt
 
 #include <linux/cpufeature.h>
 #include <linux/mm.h>
index cf461d76e9da32e3d5576de2f20deb37992ad149..3238c178bed8b6422b30067c9992186413349bfc 100644 (file)
@@ -15,8 +15,7 @@
  *           Michael Holzheu <holzheu@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "bpf_jit"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "bpf_jit: " fmt
 
 #include <linux/netdevice.h>
 #include <linux/filter.h>
index c82c577db2bcd2143476cb8189fd89b9a4dc9836..93d2c9c780fce450de421ba9cfe4df1eb9fe24ce 100644 (file)
@@ -16,8 +16,7 @@
  *   Thomas Klein
  */
 
-#define KMSG_COMPONENT "zpci"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zpci: " fmt
 
 #include <linux/kernel.h>
 #include <linux/slab.h>
index be8c697fea0cc755cfdb4fb0a9e3b95183bec0dc..72adc8f6e94f74e0497af45503d80470eec06bf6 100644 (file)
@@ -7,8 +7,7 @@
  *
  */
 
-#define KMSG_COMPONENT "zpci"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zpci: " fmt
 
 #include <linux/kernel.h>
 #include <linux/slab.h>
index 02b73d4b6c7e8ea358c485a261474c94b98a8622..177aa0214547d834360691577ad0bb74959d552e 100644 (file)
@@ -6,8 +6,7 @@
  *   Jan Glauber <jang@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "zpci"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zpci: " fmt
 
 #include <linux/kernel.h>
 #include <linux/miscdevice.h>
index 38014206c16b9667ed4342b15a4595cea68f9dc7..c7ed7bf254b5e9e5aa9fdc619c13a1528f8391e7 100644 (file)
@@ -6,8 +6,7 @@
  *    Jan Glauber <jang@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "zpci"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zpci: " fmt
 
 #include <linux/kernel.h>
 #include <linux/seq_file.h>
index b95376041501f479eee20705d45fb8c68553da71..864cfe22ebeb4506d0f76c5fb6d2feb17210d536 100644 (file)
@@ -6,8 +6,7 @@
  *    Jan Glauber <jang@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "zpci"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zpci: " fmt
 
 #include <linux/kernel.h>
 #include <linux/pci.h>
index 191e56a623f62c931818f5a6a0f3457e50ab0f26..13050ce5c3e9ed36f6ce80c6eedb6cc8b31504b1 100644 (file)
@@ -7,8 +7,7 @@
  *
  */
 
-#define KMSG_COMPONENT "zpci"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zpci: " fmt
 
 #include <linux/kernel.h>
 #include <linux/pci.h>
index 84482a92133220f446e30ae61b6af196aa17b4b4..6afea2fa0c1af996a620efd30017b7204a96f52e 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0
-#define KMSG_COMPONENT "zpci"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zpci: " fmt
 
 #include <linux/kernel.h>
 #include <linux/irq.h>
index 1b494e5ecc4d848a053193f3477829c4e003f4b5..7030f7052926ae400887638f873b64ade84c811b 100644 (file)
@@ -7,8 +7,7 @@
  *
  */
 
-#define KMSG_COMPONENT "zpci"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zpci: " fmt
 
 #include <linux/kernel.h>
 #include <linux/sprintf.h>
index 12060870e2aa167c58a690d584f0268b1347fbfe..c2444a23e26c4218832bb91930b5f0ffd498d28f 100644 (file)
@@ -6,8 +6,7 @@
  *   Jan Glauber <jang@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "zpci"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zpci: " fmt
 
 #include <linux/kernel.h>
 #include <linux/stat.h>
index d27e32e9bfee11d528248d0f1360c5154a369dca..3024d5e9fd61ff0edc7ac7510258908b85a396f3 100644 (file)
@@ -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>
index d9996516f49e67a35a2473baf17f16ed20cd2117..a55967082ef62333d2bc0ea36d1ba9658cb5ffde 100644 (file)
@@ -8,8 +8,7 @@
  *   Jan Glauber <jang@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "zpci"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zpci: " fmt
 
 #include <linux/kernel.h>
 #include <linux/slab.h>
index a2216795591dbd3ecba18d87873c7e97d6526f4a..c2a87201c15355f0d7fea2edbf601543b28d984c 100644 (file)
@@ -5,7 +5,6 @@
  * Copyright IBM Corp. 1999, 2009
  */
 
-#define KMSG_COMPONENT "dasd-fba"
 
 #include <linux/stddef.h>
 #include <linux/kernel.h>
index 57d691ed0a63fa12a725f44101c22408c4953e82..38e1df8f8a82772cac88b2d94703393127bb89ce 100644 (file)
@@ -5,8 +5,7 @@
  * Authors: Carsten Otte, Stefan Weinhuber, Gerald Schaefer
  */
 
-#define KMSG_COMPONENT "dcssblk"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "dcssblk: " fmt
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
index 91bbe9d2e5acdcb30217a85029dca342444671aa..04e84f45dcc9652bab76444a36f335fdb01d25c6 100644 (file)
@@ -6,8 +6,7 @@
  * Author(s): Sebastian Ott <sebott@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "scm_block"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "scm_block: " fmt
 
 #include <linux/interrupt.h>
 #include <linux/spinlock.h>
index 69a845eb8b1f58e40fc49248bc49475f28cb342c..6cffbbe83f894ef0375a550c88e9b5b50f684341 100644 (file)
@@ -6,8 +6,7 @@
  * Author(s): Sebastian Ott <sebott@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "scm_block"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "scm_block: " fmt
 
 #include <linux/module.h>
 #include <linux/slab.h>
index f41b39c9d26798f4f6d8f6771240dfeb60116fc3..a1e110c96f74f0c0932080797e15bb96c245b298 100644 (file)
@@ -7,8 +7,7 @@
  *
  */
 
-#define KMSG_COMPONENT "hmcdrv"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hmcdrv: " fmt
 
 #include <linux/kernel.h>
 #include <linux/mm.h>
index 43df27ceec1108963301a680e2e5e447a7dc4d98..85fb689594ca83ec9f405c36cdc8d819a1381047 100644 (file)
@@ -7,8 +7,7 @@
  *
  */
 
-#define KMSG_COMPONENT "hmcdrv"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hmcdrv: " fmt
 
 #include <linux/kernel.h>
 #include <linux/mm.h>
index b26fcf6849f2adc90d869f7e086e4c2037a8f969..04b938c5357f5fcbca66bd4e55525779b0a47d2a 100644 (file)
@@ -14,8 +14,7 @@
  *    end read() the response.
  */
 
-#define KMSG_COMPONENT "hmcdrv"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hmcdrv: " fmt
 
 #include <linux/kernel.h>
 #include <linux/module.h>
index 4e3c7ec6749bd6911df861aa5fa4ec0a098c4d28..3312b2ac00a9da557e0c4109f6680e2bee006650 100644 (file)
@@ -6,8 +6,7 @@
  *    Author(s): Ralf Hoppe (rhoppe@de.ibm.com)
  */
 
-#define KMSG_COMPONENT "hmcdrv"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hmcdrv: " fmt
 
 #include <linux/kernel.h>
 #include <linux/slab.h>
index 1447d08872253e3498914fb6da6c3504cd207f47..b1cc5ba9fed8c82f09cd087b47a3275eac7d0518 100644 (file)
@@ -6,8 +6,7 @@
  *    Author(s): Ralf Hoppe (rhoppe@de.ibm.com)
  */
 
-#define KMSG_COMPONENT "hmcdrv"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hmcdrv: " fmt
 
 #include <linux/kernel.h>
 #include <linux/module.h>
index 2d9886651d9b9588b0bbb08e27dc1c2098b4d1b4..3d84f84b4cbdf67578261375f3ba029d4ac7856e 100644 (file)
@@ -7,8 +7,7 @@
  * Author: Gerald Schaefer <gerald.schaefer@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "monreader"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "monreader: " fmt
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
index 0fab1f025a94db569a7902f4c6f8172f934ba5b0..cf2e5106142288d5748509303d365959beefa866 100644 (file)
@@ -7,8 +7,7 @@
  * Author(s): Melissa Howland <Melissa.Howland@us.ibm.com>
  */
 
-#define KMSG_COMPONENT "monwriter"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "monwriter: " fmt
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
index 0dd1ca7127950b1f9e320e67b28f58192a591945..18bb018b4e0cd99404c3d82e2d9b64fd0c91b31c 100644 (file)
@@ -4,8 +4,7 @@
  *
  * Copyright IBM Corp. 2020
  */
-#define KMSG_COMPONENT "sclp_cmd"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "sclp_cmd: " fmt
 
 #include <linux/export.h>
 #include <linux/slab.h>
index 3480198eac0255f1cc7e88eb8bae515334aedfc2..be4730936f5c319f2f9153d931eabde7fb7d2656 100644 (file)
@@ -5,8 +5,7 @@
  * Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "sclp_cmd"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "sclp_cmd: " fmt
 
 #include <linux/completion.h>
 #include <linux/err.h>
index 356d26a09af03d1f44cd3ec682c32351739f3fc9..9cfbe3fc3dca7e881c119f7c87282b287e1c0ef0 100644 (file)
@@ -3,8 +3,7 @@
  *    Copyright IBM Corp. 2007
  */
 
-#define KMSG_COMPONENT "sclp_config"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "sclp_config: " fmt
 
 #include <linux/init.h>
 #include <linux/errno.h>
index d8f91aab11e8305ab3079b29c3087a74b905573c..8e1636bcf8b54b84d3d02fc37cd7f574fdf32359 100644 (file)
@@ -7,8 +7,7 @@
  *              Michael Ernst <mernst@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "sclp_cpi"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "sclp_cpi: " fmt
 
 #include <linux/kernel.h>
 #include <linux/init.h>
index bd5e5ba50c0acaedce899702433a7f075dc56258..6bf501ad8ff0ea6d3df0a721f29fd24506409493 100644 (file)
@@ -5,8 +5,7 @@
  * Copyright IBM Corp. 2013
  */
 
-#define KMSG_COMPONENT "sclp_early"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "sclp_early: " fmt
 
 #include <linux/export.h>
 #include <linux/errno.h>
index d27e2cbfbccb38ebb681112e4127880a4173bf49..2a1c4b2cafc8a1c793385410847046d82c8e157e 100644 (file)
@@ -7,8 +7,7 @@
  *
  */
 
-#define KMSG_COMPONENT "hmcdrv"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "hmcdrv: " fmt
 
 #include <linux/kernel.h>
 #include <linux/mm.h>
index bc515a24b3f2bebdd4d564e0f9a865a7a7daf57a..676c085b4f8a9298c611408f59ba892a9a355908 100644 (file)
@@ -5,8 +5,7 @@
  * Copyright IBM Corp. 2025
  */
 
-#define KMSG_COMPONENT "sclp_mem"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "sclp_mem: " fmt
 
 #include <linux/cpufeature.h>
 #include <linux/container_of.h>
index ae2479b804d86c37f3ffcc2acc029a3607753c3b..35f3a4a08b123d79b012cffdb6a47eaf9a8f9d22 100644 (file)
@@ -6,8 +6,7 @@
  *    Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "sclp_ocf"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "sclp_ocf: " fmt
 
 #include <linux/export.h>
 #include <linux/kernel.h>
index 56400886f7fca9d0202b27f87d2465976bbc44b9..899063e64aef0b7841e8b7ac49254ad2d8ff534e 100644 (file)
@@ -4,8 +4,7 @@
  *
  * Copyright IBM Corp. 2016
  */
-#define KMSG_COMPONENT "sclp_cmd"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "sclp_cmd: " fmt
 
 #include <linux/completion.h>
 #include <linux/export.h>
index 129b89fe40a36a1eeff89b7d9f8a1e91b651bbaf..bb1bce70ec0040c2805cb5a32f09531f36147192 100644 (file)
@@ -5,8 +5,7 @@
  * Copyright IBM Corp. 2017
  */
 
-#define KMSG_COMPONENT "sclp_sd"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "sclp_sd: " fmt
 
 #include <linux/completion.h>
 #include <linux/jiffies.h>
index e915a343fcf527a468e7f89bb06a620c98755377..ab8f1b758a1a87f8f3d2437037cd9803e1b50eee 100644 (file)
@@ -6,8 +6,7 @@
  * Author(s): Michael Holzheu
  */
 
-#define KMSG_COMPONENT "sclp_sdias"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "sclp_sdias: " fmt
 
 #include <linux/completion.h>
 #include <linux/sched.h>
index 9d0fb4b867c437381f871a93f3a996c5203c023e..a13e0ac1a4e20b69eb4b67783634947d58c2f8b0 100644 (file)
@@ -8,8 +8,7 @@
  *              Martin Schwidefsky <schwidefsky@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "tape_34xx"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "tape_34xx: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index 5b25f5415e4cde3ad15f68d0a3314aca3dbdd883..0d80f43b175d7cfe42c21992835c521e108e6d9c 100644 (file)
@@ -8,8 +8,7 @@
  *              Martin Schwidefsky <schwidefsky@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "tape_3590"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "tape_3590: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index 4f175474335ed69984cebad428cc8c5cd1a7c72f..c5d3c303c15ce7af04e53fac1d9b6e13e287c82a 100644 (file)
@@ -10,8 +10,7 @@
  *              Martin Schwidefsky <schwidefsky@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "tape"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "tape: " fmt
 
 #include <linux/module.h>
 #include <linux/types.h>
index fb18adfb95b56b320b9644cb366debbc825bc073..6fa7b78248569ab5827bfd1cf5587aa5cc4b0277 100644 (file)
@@ -8,8 +8,7 @@
  * Based on simple class device code by Greg K-H
  */
 
-#define KMSG_COMPONENT "tape"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "tape: " fmt
 
 #include <linux/export.h>
 #include <linux/slab.h>
index ab1a2dc7d711aba64940c4e207bcb99a06047799..0250076a7d9f0acbfc5df3abfa0231dcf89bc474 100644 (file)
@@ -11,8 +11,7 @@
  *              Stefan Bader <shbader@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "tape"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "tape: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index 2238d9df6c473ad94608793b85501d9a5fe92b82..a1e5fab12af2b4ff1417c2003f10420afa4c33aa 100644 (file)
@@ -11,8 +11,7 @@
  * PROCFS Functions
  */
 
-#define KMSG_COMPONENT "tape"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "tape: " fmt
 
 #include <linux/module.h>
 #include <linux/vmalloc.h>
index 4e1c52313fbcd817329425227c684289b0a9e381..43a5586685ffc4763bca61f8c0dce55260d4bc9d 100644 (file)
@@ -11,8 +11,7 @@
  *              Stefan Bader <shbader@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "tape"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "tape: " fmt
 
 #include <linux/export.h>
 #include <linux/stddef.h>
index e284eea331d7beda32bd683d1ddef903b7140cd5..383e7e2bd69f4d6523fbb332d442ba352a39e893 100644 (file)
@@ -11,8 +11,7 @@
  *
  */
 
-#define KMSG_COMPONENT "vmlogrdr"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "vmlogrdr: " fmt
 
 #include <linux/module.h>
 #include <linux/init.h>
index 0fd918769a4bae0175cd834091a41f673c6ce2f7..e3e0e9f365277ceba55efd82e392d1766f065e67 100644 (file)
@@ -9,8 +9,7 @@
  *         Frank Munzert <munzert@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "vmur"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "vmur: " fmt
 
 #include <linux/cdev.h>
 #include <linux/slab.h>
index 33cebb91b93382da3c7c8f924f08f5c4e30cae73..b26b5fca6ce83f4ae2c424ddb41899a0625d0e40 100644 (file)
@@ -9,8 +9,7 @@
  * Author(s): Michael Holzheu
  */
 
-#define KMSG_COMPONENT "zdump"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zdump: " fmt
 
 #include <linux/init.h>
 #include <linux/slab.h>
index 93695d535380bcc08442c31376d14c4c5084e508..738d5e2d53046cca7f5e67bfe596a953c28e5bc9 100644 (file)
@@ -8,8 +8,7 @@
  *              Arnd Bergmann (arndb@de.ibm.com)
  */
 
-#define KMSG_COMPONENT "cio"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cio: " fmt
 
 #include <linux/init.h>
 #include <linux/vmalloc.h>
index 73582a0a2622c45fec7b7ca075a57f350e9a4f1d..763f477cc431eea9c56ea5cca810df6c69660f6b 100644 (file)
@@ -6,8 +6,7 @@
  *    Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "cio"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cio: " fmt
 
 #include <linux/types.h>
 #include <linux/err.h>
index edebb0d06ab70a2d411e4677849820c7a54e840a..fbb58edd6274d8a35d3d8497d8c1d1e0557e15f0 100644 (file)
@@ -8,8 +8,7 @@
  *              Arnd Bergmann (arndb@de.ibm.com)
  */
 
-#define KMSG_COMPONENT "cio"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cio: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index 6bcc8e58e5f98bddf5cb2c7f591dd45a1293cd98..70dc8cc765948ac6b2ec2b4e2bd62588b9c506d4 100644 (file)
@@ -9,8 +9,7 @@
  *              Martin Schwidefsky (schwidefsky@de.ibm.com)
  */
 
-#define KMSG_COMPONENT "cio"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cio: " fmt
 
 #include <linux/export.h>
 #include <linux/ftrace.h>
index a2e771ebae8ebd55e1cb841f76b44a69ebb2bea7..0e18cb921ef6925f4868358860bfc4bf2b4bed11 100644 (file)
@@ -6,8 +6,7 @@
  *    Author(s): Vineeth Vijayan <vneethv@linux.ibm.com>
  */
 
-#define KMSG_COMPONENT "cio"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cio: " fmt
 
 #include <linux/slab.h>
 #include <linux/spinlock.h>
index b7048f2b036e2c1ad5ecb919036073973781ebd6..7d035e4937ce629fea70e5d781a92ef93ebea236 100644 (file)
@@ -10,8 +10,7 @@
  * original idea from Natarajan Krishnaswami <nkrishna@us.ibm.com>
  */
 
-#define KMSG_COMPONENT "cio"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cio: " fmt
 
 #include <linux/memblock.h>
 #include <linux/device.h>
index be78a57f9bfdef28a6e85545e0846f8a9bf916e2..4c85df7a548ef1721ea1d511b7f94e605440237a 100644 (file)
@@ -8,8 +8,7 @@
  *           Cornelia Huck (cornelia.huck@de.ibm.com)
  */
 
-#define KMSG_COMPONENT "cio"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cio: " fmt
 
 #include <linux/export.h>
 #include <linux/init.h>
index 4b2dae6eb376096f1e80d148c828394a351f5e21..602f36102c7ca87996e51caef4bb75732c835b0c 100644 (file)
@@ -8,8 +8,7 @@
  *              Martin Schwidefsky (schwidefsky@de.ibm.com)
  */
 
-#define KMSG_COMPONENT "cio"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "cio: " fmt
 
 #include <linux/export.h>
 #include <linux/init.h>
index e4bd4f79aaa33c7637526d71e73c68c0ad70ed70..a445494fd2bef3651fbef705a8c15f63bcab496b 100644 (file)
@@ -11,8 +11,7 @@
  * Adjunct processor bus.
  */
 
-#define KMSG_COMPONENT "ap"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "ap: " fmt
 
 #include <linux/kernel_stat.h>
 #include <linux/moduleparam.h>
index ce953cbbd564034a08691fae4856ecbce018cc80..8102c8134c49054763695393e066a96d7de387bd 100644 (file)
@@ -6,8 +6,7 @@
  * Adjunct processor bus, card related code.
  */
 
-#define KMSG_COMPONENT "ap"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "ap: " fmt
 
 #include <linux/init.h>
 #include <linux/slab.h>
index 4fe443d30f9b4a18a044f7c4c4ef1d85169807b0..4a32c1e19a1e60bde62fb49d492631660cb2afa7 100644 (file)
@@ -6,8 +6,7 @@
  * Adjunct processor bus, queue related code.
  */
 
-#define KMSG_COMPONENT "ap"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "ap: " fmt
 
 #include <linux/export.h>
 #include <linux/init.h>
index 01549003a90345d74bc118aece73d0114a1d5977..ad1cd699f53be5f396a24b9ebd96924e43930c39 100644 (file)
@@ -7,8 +7,7 @@
  *  Author(s): Harald Freudenberger
  */
 
-#define KMSG_COMPONENT "pkey"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "pkey: " fmt
 
 #include <linux/init.h>
 #include <linux/miscdevice.h>
index b15741461a63a199077e2f2d7efee029247e5bce..d60cd987c16d22bcd215ee921a7c4050237564c3 100644 (file)
@@ -5,8 +5,7 @@
  *  Copyright IBM Corp. 2024
  */
 
-#define KMSG_COMPONENT "pkey"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "pkey: " fmt
 
 #include <linux/cpufeature.h>
 #include <linux/export.h>
index 6c7897a93f273bcd90235241aa0cda26564a1185..d4550d8d8eead966cbb97e9c05b3522a7cfbd4ef 100644 (file)
@@ -5,8 +5,7 @@
  *  Copyright IBM Corp. 2024
  */
 
-#define KMSG_COMPONENT "pkey"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "pkey: " fmt
 
 #include <linux/init.h>
 #include <linux/module.h>
index 6b23adc560c8a8188b75a647400112b389676401..654eed20d0d9beac07666f6d88d6a03fbe4eb971 100644 (file)
@@ -5,8 +5,7 @@
  *  Copyright IBM Corp. 2024
  */
 
-#define KMSG_COMPONENT "pkey"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "pkey: " fmt
 
 #include <linux/init.h>
 #include <linux/module.h>
index 7eca9f1340bdd36e50b698b6a243222aa5a72fe1..793326c4c59ad54d510bf10eb196667c7a124933 100644 (file)
@@ -5,8 +5,7 @@
  *  Copyright IBM Corp. 2024
  */
 
-#define KMSG_COMPONENT "pkey"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "pkey: " fmt
 
 #include <linux/init.h>
 #include <linux/module.h>
index 792c0fce88fa04baba4d075d145835a626d00fb8..b6b0a46cb8a8af39e0350130128bbd4680f40d48 100644 (file)
@@ -5,8 +5,7 @@
  *  Copyright IBM Corp. 2024
  */
 
-#define KMSG_COMPONENT "pkey"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "pkey: " fmt
 
 #include <linux/sysfs.h>
 
index e5c6e01acaf3930316aa5c496f79500546283279..6cd3c49384b5f7c843427240421359d748b8f209 100644 (file)
@@ -5,8 +5,7 @@
  *  Copyright IBM Corp. 2024
  */
 
-#define KMSG_COMPONENT "pkey"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "pkey: " fmt
 
 #include <linux/cpufeature.h>
 #include <linux/init.h>
index de93a953d38059ef3a1ab30047b365a8e04782f9..7a3b99f065f2b36c32df288764b95c2bbb180873 100644 (file)
@@ -12,8 +12,7 @@
  *  Multiple device nodes: Harald Freudenberger <freude@linux.ibm.com>
  */
 
-#define KMSG_COMPONENT "zcrypt"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zcrypt: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index a96e256143037ea26cf4c00b384a7305b06cd10e..573bad1d6d86c789810feebc83379c67810cb083 100644 (file)
@@ -7,8 +7,7 @@
  *  Collection of CCA misc functions used by zcrypt and pkey
  */
 
-#define KMSG_COMPONENT "zcrypt"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zcrypt: " fmt
 
 #include <linux/export.h>
 #include <linux/init.h>
index e92e2fd8ce5da06fb3fd241177534f5823c90df7..3dda9589f2b955622eabdd2cb07bf604f11841f4 100644 (file)
@@ -6,8 +6,7 @@
  *  Collection of EP11 misc functions used by zcrypt and pkey
  */
 
-#define KMSG_COMPONENT "zcrypt"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zcrypt: " fmt
 
 #include <linux/export.h>
 #include <linux/init.h>
index fc0a2a053dc22cc488b85f0fd9e7b30a08f9f3f5..d6fc2d8e7fad9aebf9726026aac70c6bff6a3f6a 100644 (file)
@@ -10,8 +10,7 @@
  *  MSGTYPE restruct:            Holger Dengler <hd@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "zcrypt"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zcrypt: " fmt
 
 #include <linux/module.h>
 #include <linux/slab.h>
index 9cefbb30960fdd70fcb016e89ebe1aefd4049c02..a0dcab5dc4f2f7a1409eaa80b522563aac10b9db 100644 (file)
@@ -10,8 +10,7 @@
  *  MSGTYPE restruct:            Holger Dengler <hd@linux.vnet.ibm.com>
  */
 
-#define KMSG_COMPONENT "zcrypt"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zcrypt: " fmt
 
 #include <linux/module.h>
 #include <linux/init.h>
index 9678c6a2cda727cb9a9a1a35efc6b94d476dfb84..e221687a9858a63cf11bba36476c0c9dbdcd2c46 100644 (file)
@@ -12,8 +12,7 @@
 #undef DEBUGDATA
 #undef DEBUGCCW
 
-#define KMSG_COMPONENT "ctcm"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "ctcm: " fmt
 
 #include <linux/module.h>
 #include <linux/init.h>
index b93c2eb45916de3b948a10fd57306688c82047cc..3d7ccf2366a0bc50365bfb8514e919c014a1118b 100644 (file)
@@ -20,8 +20,7 @@
 #undef DEBUGDATA
 #undef DEBUGCCW
 
-#define KMSG_COMPONENT "ctcm"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "ctcm: " fmt
 
 #include <linux/module.h>
 #include <linux/init.h>
index 0aeafa772fb1e835cf91fab4531a8b29a5e2c13b..7b8e6ccc04b50beaf114780bf06e2d0c1dcafadc 100644 (file)
@@ -18,8 +18,7 @@
 #undef DEBUGDATA
 #undef DEBUGCCW
 
-#define KMSG_COMPONENT "ctcm"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "ctcm: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index 0c5d8a3eaa2e6de170c06e77f9586ff36bb034b8..529a1c40ae6388892fa0080f86ee8aba7b232ad7 100644 (file)
@@ -9,8 +9,7 @@
 #undef DEBUGDATA
 #undef DEBUGCCW
 
-#define KMSG_COMPONENT "ctcm"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "ctcm: " fmt
 
 #include <linux/device.h>
 #include <linux/sysfs.h>
index f84aa2e676e9bed0391d860ea9b408703211a95e..8b8e4f06be0f0a602644341018e6bc25f09593d9 100644 (file)
@@ -4,8 +4,7 @@
  *
  * Copyright IBM Corp. 2018
  */
-#define KMSG_COMPONENT "ism"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "ism: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index 6d415e9d5c9f73c75767139b7f592c807942ba87..64d45285651dbdbd4511be8031af6c654397d495 100644 (file)
@@ -7,8 +7,7 @@
  *              Frank Blaschka <frank.blaschka@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "qeth"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "qeth: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index c0e4883be6d0ba362feeda345f7620ad418155cc..a3b16d4d16fb325206758b451f1d3d2919a71859 100644 (file)
@@ -7,8 +7,7 @@
  *              Frank Blaschka <frank.blaschka@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "qeth"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "qeth: " fmt
 
 #include <linux/list.h>
 #include <linux/rwsem.h>
index f184c58ecf24cc30a04b0f38b703d8608c047d9e..d214a889cf4ed7c4a88e62cf889e95f39e82659f 100644 (file)
@@ -3,8 +3,7 @@
  * Copyright IBM Corp. 2018
  */
 
-#define KMSG_COMPONENT "qeth"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "qeth: " fmt
 
 #include <linux/ethtool.h>
 #include "qeth_core.h"
index 2a3888283a943241cd01f412b967db246a063ee9..7498a83b1f06c159b0d98113b8186758e217576b 100644 (file)
@@ -7,8 +7,7 @@
  *              Frank Blaschka <frank.blaschka@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "qeth"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "qeth: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index 3525be81936244621c12568e235fd70be9354907..027bc346232f6e6f0aa455af692a9d8ee51856ec 100644 (file)
@@ -7,8 +7,7 @@
  *              Frank Blaschka <frank.blaschka@de.ibm.com>
  */
 
-#define KMSG_COMPONENT "qeth"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "qeth: " fmt
 
 #include <linux/export.h>
 #include <linux/module.h>
index 4bd4d6bfc1262e84f6d1023ae080a34f08685953..7041c1dca1e8996173099f9b748210785aeefcb4 100644 (file)
@@ -10,8 +10,7 @@
  * Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
  *
  */
-#define KMSG_COMPONENT         "smsgiucv_app"
-#define pr_fmt(fmt)            KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "smsgiucv_app: " fmt
 
 #include <linux/ctype.h>
 #include <linux/err.h>
@@ -161,7 +160,7 @@ static int __init smsgiucv_app_init(void)
        if (!smsgiucv_drv)
                return -ENODEV;
 
-       smsg_app_dev = iucv_alloc_device(NULL, smsgiucv_drv, NULL, KMSG_COMPONENT);
+       smsg_app_dev = iucv_alloc_device(NULL, smsgiucv_drv, NULL, "smsgiucv_app");
        if (!smsg_app_dev)
                return -ENOMEM;
 
index dc2265ebb11b8e086b8ac961ac574110b27eb432..01f927ae61b5c0dce4d44fb3776b7e1403c30440 100644 (file)
@@ -28,8 +28,7 @@
  *           Benjamin Block
  */
 
-#define KMSG_COMPONENT "zfcp"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zfcp: " fmt
 
 #include <linux/seq_file.h>
 #include <linux/slab.h>
index bdf2cc1ea71395d14f706ed3d27e00f130dcec49..67cb947048c471622ae345967e407246c8ee30f3 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright IBM Corp. 2002, 2010
  */
 
-#define KMSG_COMPONENT "zfcp"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zfcp: " fmt
 
 #include <linux/module.h>
 #include "zfcp_ext.h"
index d904625afd4087536c86381126035198df5e4495..6b5561c54e2f3a55eeac4bc4e72dd62910b2ed64 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright IBM Corp. 2002, 2023
  */
 
-#define KMSG_COMPONENT "zfcp"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zfcp: " fmt
 
 #include <linux/module.h>
 #include <linux/ctype.h>
index ffd9944169959170728e553b5c0dfc385c0200ee..ec6c0e10211997724e9ed57210455399be2399df 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright IBM Corp. 2002, 2020
  */
 
-#define KMSG_COMPONENT "zfcp"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zfcp: " fmt
 
 #include <linux/kthread.h>
 #include <linux/bug.h>
index 1d50f463afe7fbb486e025cb64268c12f83a09b6..78ca394e1195e0a7e42b3032e1262c8425e55125 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright IBM Corp. 2008, 2017
  */
 
-#define KMSG_COMPONENT "zfcp"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zfcp: " fmt
 
 #include <linux/types.h>
 #include <linux/slab.h>
index c5bba1be88f4ae58cae4c78455a922cee1f7c647..9418086368c36773a9d0f37e793a801fed36a8d5 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright IBM Corp. 2002, 2023
  */
 
-#define KMSG_COMPONENT "zfcp"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zfcp: " fmt
 
 #include <linux/blktrace_api.h>
 #include <linux/jiffies.h>
index f2410bc44ad3f679bfbbe131e131faed9270a24e..e15a1eabe42d89de7f0330df7727c7f0cbadb1d8 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright IBM Corp. 2002, 2020
  */
 
-#define KMSG_COMPONENT "zfcp"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zfcp: " fmt
 
 #include <linux/lockdep.h>
 #include <linux/slab.h>
index b31f860af47b1400dbc5c2cba36b9b152f41a789..141476ea21bbfc66d4a4cc6f417cbf2296f2c01d 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright IBM Corp. 2002, 2020
  */
 
-#define KMSG_COMPONENT "zfcp"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zfcp: " fmt
 
 #include <linux/module.h>
 #include <linux/types.h>
index 90a84ae98b971c6daa6decc1a4826816918c1ff3..10a3840b2b6b73f2647eb51c67db5ac6a77c3262 100644 (file)
@@ -7,8 +7,7 @@
  * Copyright IBM Corp. 2008, 2020
  */
 
-#define KMSG_COMPONENT "zfcp"
-#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#define pr_fmt(fmt) "zfcp: " fmt
 
 #include <linux/slab.h>
 #include "zfcp_diag.h"