From c16517d26de30c90dabce1e456615fd7fbdce07c Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 23 Feb 2020 13:20:11 +0100 Subject: kernel: copy kernel 4.19 code to 5.4 No changes were done to the patches while coping them. Currently they do not apply on top of kernel 5.4. Signed-off-by: Hauke Mehrtens --- ...5.1-0002-bcma-use-dev_-printing-functions.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 target/linux/generic/backport-5.4/080-v5.1-0002-bcma-use-dev_-printing-functions.patch (limited to 'target/linux/generic/backport-5.4/080-v5.1-0002-bcma-use-dev_-printing-functions.patch') diff --git a/target/linux/generic/backport-5.4/080-v5.1-0002-bcma-use-dev_-printing-functions.patch b/target/linux/generic/backport-5.4/080-v5.1-0002-bcma-use-dev_-printing-functions.patch new file mode 100644 index 0000000000..7ce8ba8967 --- /dev/null +++ b/target/linux/generic/backport-5.4/080-v5.1-0002-bcma-use-dev_-printing-functions.patch @@ -0,0 +1,36 @@ +From 777bc4801a6868fcbff09ffb6e30f023e7c5ed38 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= +Date: Wed, 2 Jan 2019 00:00:02 +0100 +Subject: [PATCH] bcma: use dev_* printing functions +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +It provides more meaningful messages. + +Signed-off-by: Rafał Miłecki +Signed-off-by: Kalle Valo +--- + drivers/bcma/bcma_private.h | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +--- a/drivers/bcma/bcma_private.h ++++ b/drivers/bcma/bcma_private.h +@@ -10,13 +10,13 @@ + #include + + #define bcma_err(bus, fmt, ...) \ +- pr_err("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) ++ dev_err((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) + #define bcma_warn(bus, fmt, ...) \ +- pr_warn("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) ++ dev_warn((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) + #define bcma_info(bus, fmt, ...) \ +- pr_info("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) ++ dev_info((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) + #define bcma_debug(bus, fmt, ...) \ +- pr_debug("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) ++ dev_dbg((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) + + struct bcma_bus; + -- cgit v1.2.3