public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare@suse.de>
To: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	Mark Rutland <mark.rutland@arm.com>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] firmware: dmi_scan: Always show system identification string
Date: Fri, 9 Dec 2016 16:30:37 +0100	[thread overview]
Message-ID: <20161209163037.5b27099b@endymion> (raw)
In-Reply-To: <1481266447-51471-1-git-send-email-wangkefeng.wang@huawei.com>

Hi Wang,

On Fri, 9 Dec 2016 14:54:07 +0800, Kefeng Wang wrote:
> Let's keep consistent when print dmi_ids_string between SMBIOS 2.x
> and SMBIOS 3.x, and always show the system identification string,
> like Vendor, Product/Board name and BIOS infos.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ---
>  drivers/firmware/dmi_scan.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c
> index 88bebe1..54be60e 100644
> --- a/drivers/firmware/dmi_scan.c
> +++ b/drivers/firmware/dmi_scan.c
> @@ -560,7 +560,7 @@ static int __init dmi_present(const u8 *buf)
>  					dmi_ver >> 16, (dmi_ver >> 8) & 0xFF);
>  			}
>  			dmi_format_ids(dmi_ids_string, sizeof(dmi_ids_string));
> -			printk(KERN_DEBUG "DMI: %s\n", dmi_ids_string);
> +			pr_info("DMI: %s\n", dmi_ids_string);
>  			return 0;
>  		}
>  	}
> @@ -588,7 +588,7 @@ static int __init dmi_smbios3_present(const u8 *buf)
>  				dmi_ver >> 16, (dmi_ver >> 8) & 0xFF,
>  				dmi_ver & 0xFF);
>  			dmi_format_ids(dmi_ids_string, sizeof(dmi_ids_string));
> -			pr_debug("DMI: %s\n", dmi_ids_string);
> +			pr_info("DMI: %s\n", dmi_ids_string);
>  			return 0;
>  		}
>  	}

I agree. Applied, thanks.

-- 
Jean Delvare
SUSE L3 Support

      parent reply	other threads:[~2016-12-09 15:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-09  6:54 [PATCH] firmware: dmi_scan: Always show system identification string Kefeng Wang
2016-12-09 14:55 ` Ard Biesheuvel
2016-12-12  1:51   ` Kefeng Wang
2016-12-13 14:25     ` Ard Biesheuvel
2016-12-13 14:42       ` Jean Delvare
2016-12-13 14:43         ` Ard Biesheuvel
2016-12-09 15:30 ` Jean Delvare [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=20161209163037.5b27099b@endymion \
    --to=jdelvare@suse.de \
    --cc=ard.biesheuvel@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=wangkefeng.wang@huawei.com \
    /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