* [PATCH] microblaze: Remove early printk call from cpuinfo-static.c
@ 2024-04-11 8:27 Michal Simek
2024-04-24 10:16 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2024-04-11 8:27 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git; +Cc: Rob Herring
Early printk has been removed already that's why also remove calling it.
Similar change has been done in cpuinfo-pvr-full.c by commit cfbd8d1979af
("microblaze: Remove early printk setup").
Fixes: 96f0e6fcc9ad ("microblaze: remove redundant early_printk support")
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/microblaze/kernel/cpu/cpuinfo-static.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/microblaze/kernel/cpu/cpuinfo-static.c b/arch/microblaze/kernel/cpu/cpuinfo-static.c
index 85dbda4a08a8..03da36dc6d9c 100644
--- a/arch/microblaze/kernel/cpu/cpuinfo-static.c
+++ b/arch/microblaze/kernel/cpu/cpuinfo-static.c
@@ -18,7 +18,7 @@ static const char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY;
static const char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER;
#define err_printk(x) \
- early_printk("ERROR: Microblaze " x "-different for kernel and DTS\n");
+ pr_err("ERROR: Microblaze " x "-different for kernel and DTS\n");
void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu)
{
--
2.44.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] microblaze: Remove early printk call from cpuinfo-static.c
2024-04-11 8:27 [PATCH] microblaze: Remove early printk call from cpuinfo-static.c Michal Simek
@ 2024-04-24 10:16 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2024-04-24 10:16 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git; +Cc: Rob Herring
On 4/11/24 10:27, Michal Simek wrote:
> Early printk has been removed already that's why also remove calling it.
> Similar change has been done in cpuinfo-pvr-full.c by commit cfbd8d1979af
> ("microblaze: Remove early printk setup").
>
> Fixes: 96f0e6fcc9ad ("microblaze: remove redundant early_printk support")
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
> arch/microblaze/kernel/cpu/cpuinfo-static.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/microblaze/kernel/cpu/cpuinfo-static.c b/arch/microblaze/kernel/cpu/cpuinfo-static.c
> index 85dbda4a08a8..03da36dc6d9c 100644
> --- a/arch/microblaze/kernel/cpu/cpuinfo-static.c
> +++ b/arch/microblaze/kernel/cpu/cpuinfo-static.c
> @@ -18,7 +18,7 @@ static const char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY;
> static const char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER;
>
> #define err_printk(x) \
> - early_printk("ERROR: Microblaze " x "-different for kernel and DTS\n");
> + pr_err("ERROR: Microblaze " x "-different for kernel and DTS\n");
>
> void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu)
> {
Applied.
M
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-24 10:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-11 8:27 [PATCH] microblaze: Remove early printk call from cpuinfo-static.c Michal Simek
2024-04-24 10:16 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®