Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1539445

Re: [PATCH] firmware: dmi_scan: Always show system identification string

From Jean Delvare <jdelvare@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH] firmware: dmi_scan: Always show system identification string
Date 2016-12-09 16:40 +0100
Message-ID <sMvrc-4YR-25@gated-at.bofh.it> (permalink)
References <sMnjY-8qN-15@gated-at.bofh.it>
Organization SUSE Linux

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] firmware: dmi_scan: Always show system identification string Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-12-09 08:00 +0100
  Re: [PATCH] firmware: dmi_scan: Always show system identification string Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-12-09 16:00 +0100
  Re: [PATCH] firmware: dmi_scan: Always show system identification  string Jean Delvare <jdelvare@suse.de> - 2016-12-09 16:40 +0100

csiph-web