Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4372395pxv; Mon, 5 Jul 2021 22:27:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7mpCBjXBnXuJ/bFOP7+0bT1ZYGhPP3XyyNldtTiT6hRLPfI3bMEGA8g8K05kaoWv2pznA X-Received: by 2002:a5e:d614:: with SMTP id w20mr14473557iom.17.1625549272751; Mon, 05 Jul 2021 22:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625549272; cv=none; d=google.com; s=arc-20160816; b=jD20e2bHmH0j8uBb267nOsO20Q/u/GrHdJYaouY50nGLpmKeIRdyPlTo82Ou8TkBFe 2j6JsDciDbQw2Eq6sGiLNuWilrbtMzmzb7EOIqEsnsluGA/zIzcnBR2lMKU12dugBP5N zEj1EwxCt+Ft1XU5rAHq/LWX+OFtoxX8een3spBKcguH2jbQprs1QFsqYCGxgLdzgqxE jRnepg8LxOVQiY6l8sSYAHblAMrMal0B++Ss9SNb6YFsJzAS5mJFILu397G6yEnyHm5U pgMlyA47lkooeELVCC0qqLx9BM18WKWaQoX3XqY3h1vcZ8KDnH69teKm4Qq7LTy7/EYB EeRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:subject:cc:to :from:date; bh=wg1TEgvoOxYiMtE/x3+HXEpFucxD0aPQYq8ERb3ApzQ=; b=F/EwvJqc31+1cwp5hLEkLoGI85xSBF8P5XKwbEqjKn+dM25TOcalAI1dTauTGshiOW 4D3rAwbY0GVmi3cs0Rz2XhjQM1D9zE0GONE6bJ0BiN2Nzopqx/CQMmV4OuHG03sH94Py IptTq/0Po55qbC7nmr/XgpL2zQE8WztSnqe8+HUxNRBHLfHrSaijzDiYUhS1rhmeHmQi huqssIgKj49AwEXYZh3CRCgHAM/VaJKQdhzuF3KZTvg/vipSWMEwZhFDvJDv/sJuHJKN 4JVXQlIRdQgUmwNGblHjrrV+miUJWbpJ7By5WJ6PQcJZP8RKwrmiUk2bcPsHC3sktnFl cSUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s4si17875703ilv.54.2021.07.05.22.27.41; Mon, 05 Jul 2021 22:27:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230086AbhGFF3g (ORCPT + 99 others); Tue, 6 Jul 2021 01:29:36 -0400 Received: from angie.orcam.me.uk ([78.133.224.34]:60336 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230008AbhGFF3g (ORCPT ); Tue, 6 Jul 2021 01:29:36 -0400 Received: by angie.orcam.me.uk (Postfix, from userid 500) id D51A692009C; Tue, 6 Jul 2021 07:26:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id CD9A992009B; Tue, 6 Jul 2021 07:26:56 +0200 (CEST) Date: Tue, 6 Jul 2021 07:26:56 +0200 (CEST) From: "Maciej W. Rozycki" To: Jean Delvare cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/2] firmware: dmi: Avoid (some) empty names in kernel log Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I've noticed one of my systems shows this output in the kernel log: Legacy DMI 2.0 present. DMI: /i430HX, BIOS 4.51 PG 05/13/98 which leaves something to desire. While the contents of /sys/firmware/dmi remain the main source of DMI data, along with output from `dmidecode', the summary from the kernel log is often readily available with various reports, making it a point of easy reference. Therefore I think empty names are best avoided if possible. The system in question is a Tyan Tomcat IV S1564D mainboard, which has its System Information all empty, not unreasonably as it was sold as a bare board for field integration rather that a complete system. It does have the manufacturer correctly recorded with Base Board Information though. I have therefore made this mini patch series, with 2/2 printing the board manufacturer if none has been given for the system, and including 1/2 as well to prevent a trailing slash with an empty board name, following my observation made with an unrelated issue where the reporter included a log with just "/" shown as the system name. See individual change descriptions for further details. Please apply. Maciej