mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: linux-kernel@vger.kernel.org, monstr@monstr.eu,
	michal.simek@xilinx.com, git@xilinx.com
Cc: Rob Herring <robh@kernel.org>
Subject: Re: [PATCH] microblaze: Remove early printk call from cpuinfo-static.c
Date: Wed, 24 Apr 2024 12:16:18 +0200	[thread overview]
Message-ID: <f19dfb12-0f11-463f-a64c-2e81324e6e61@amd.com> (raw)
In-Reply-To: <2f10db506be8188fa07b6ec331caca01af1b10f8.1712824039.git.michal.simek@amd.com>



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

      reply	other threads:[~2024-04-24 10:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11  8:27 Michal Simek
2024-04-24 10:16 ` Michal Simek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f19dfb12-0f11-463f-a64c-2e81324e6e61@amd.com \
    --to=michal.simek@amd.com \
    --cc=git@xilinx.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=monstr@monstr.eu \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®