Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1460114rwa; Sun, 21 Aug 2022 08:54:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR5IxXe1Z5TReUMvb8ouIM0P2xwihvICyIVruFaLwma8snhQsb2GINrL8ELoXxv+D7+aR1XJ X-Received: by 2002:a17:906:fe46:b0:730:ca2b:cb7b with SMTP id wz6-20020a170906fe4600b00730ca2bcb7bmr10829326ejb.703.1661097251993; Sun, 21 Aug 2022 08:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661097251; cv=none; d=google.com; s=arc-20160816; b=Vg3mlsHIpp78mbefE8G/yHTETowapyJgkZ/gIi+Kgt7Bt6UM11yss2LP98mt82jKw2 P2DKtZiVrQN0cJVb3tAZusHqLJNBfYWahE1PCDET8ZsMDvOHnVqbezzNRze2BzkS4x8n sYJOIhYzP03tF6wtq00GLXe64zrcWAw4nMzu8TGu0w/XJYqjlgR2cS++kxklXb34hvQr 8PMqUlxqk+Vr1L6rfSo3EriNnIoG5w47oxMd2TRyJNVWSakIiOpvwovCuxF6NU0qPRwN 38LMzgqDPIfU2ZISA1649V9suL4tCbUp5Ddw3PbJaCoYDiKGWQcWwyj9EYlTV0vhRGZf 2J+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bJFXrBUoSbG9H0TEvD5VPAwqGJX3zVEIkD0O155B38I=; b=M+aEDW3aLJcjqgtrjSWSrgvcnEmYnFHzZ7GyBq56iYDCNxBE+WtiQDmGXcfM8mSsm+ ZPAk36AhdhdrwoOOj7SeqWzZCajD00G0ZNmNKT8TAGnejZDgV0FTNb00Pn5ijFeSynla s84HSd2vo7S27ieHmAZ/cp82EGW4zy1MQezzOvdYjiNiOaK9w1Wzx8XbZI/NIOBjDYLt 8+QG74oNwatNFiwV19E5aptanjC1Rc+p05k4h79QKKIPD+Xz6aqCAVEaRuv+AtrJaokM isfAv/o9JWgu8Jf3AgPXSlVn8LNNbuEGnQSDd+1cBHkwe7hWdexQAJ/dWgJCnDnWYAmQ /LHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=CmNAHT8r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a05640205cd00b00446273b0d66si8089682edx.39.2022.08.21.08.53.46; Sun, 21 Aug 2022 08:54:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=CmNAHT8r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231437AbiHUPRz (ORCPT + 99 others); Sun, 21 Aug 2022 11:17:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231400AbiHUPRp (ORCPT ); Sun, 21 Aug 2022 11:17:45 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EC2323145; Sun, 21 Aug 2022 08:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1661095044; bh=yQ6H3evZ+n5AN+xHPSsx/w1PB3pFNVVt3/y4SP2JWe8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=CmNAHT8r9KE673c9Tq8J3cs3leLysMZdSAJ27m7PKAeu1muN+Dr73Cqb6BAq4O6Ky ccRdA6//8y/Zy3wP3Ke9Rdg5y4o5lRxCbi5Y6dbKJb/pUMSz8wszY/9ivInltd0z8d pmSsh5skXDwPlNxWvs5XH9WcPjobtrTZM5VPEgY4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from esprimo-mx.users.agdsn.de ([141.30.226.129]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MeCpR-1ozwX50keV-00bIWz; Sun, 21 Aug 2022 17:17:24 +0200 From: Armin Wolf To: pali@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] hwmon: (dell-smm) Improve warning messages Date: Sun, 21 Aug 2022 17:17:13 +0200 Message-Id: <20220821151713.11198-4-W_Armin@gmx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220821151713.11198-1-W_Armin@gmx.de> References: <20220821151713.11198-1-W_Armin@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:+svDwOC/DgC9j9SJAcrFZdjN03S1KvFROGsaCpLhKALBW82cTuu 4ATw/vHZrF/9+d+1XGzzpg50+lbsyeYdU15MUOSvkp2AWePzf86OS7YOxLzk5uU83+ueyuT kkaS8MR/u2WhR3De96961urN6uN8H1trcDnpenKHWkMAB3juongz2E4mLWxwpdTE27pNHKn b54a8MiUphS0WmMOdHFdQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:niPkwH41xJc=:W8hZcjRzrQTRs7j9aXOBA9 /opH0lTEeB8Xahn+YhC8IZzfefRktyebCthxG6GGnbyHjUvH6R5tuJsG1yV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nCKuDN4fVwirSnckr7x1BYbvraOgA0JQJA== X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When dell-smm-hwmon is loaded on a machine with a buggy BIOS with the option "force" being enabled, it wrongly prints what the buggy features where disabled. This may cause users to wrongly assume that the driver still protects them from these BIOS bugs even with "force" being enabled. Change the warning message to avoid such a misunderstanding. Tested on a Dell Inspiron 3505. Signed-off-by: Armin Wolf =2D-- drivers/hwmon/dell-smm-hwmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon= .c index f7bab1a91b93..bf13852afe48 100644 =2D-- a/drivers/hwmon/dell-smm-hwmon.c +++ b/drivers/hwmon/dell-smm-hwmon.c @@ -1354,13 +1354,13 @@ static int __init dell_smm_probe(struct platform_d= evice *pdev) platform_set_drvdata(pdev, data); if (dmi_check_system(i8k_blacklist_fan_support_dmi_table)) { - dev_warn(&pdev->dev, "broken Dell BIOS detected, disallow fan support\n= "); + dev_warn(&pdev->dev, "BIOS has broken fan support\n"); if (!force) data->disallow_fan_support =3D true; } if (dmi_check_system(i8k_blacklist_fan_type_dmi_table)) { - dev_warn(&pdev->dev, "broken Dell BIOS detected, disallow fan type call= \n"); + dev_warn(&pdev->dev, "BIOS has broken fan type call\n"); if (!force) data->disallow_fan_type_call =3D true; } =2D- 2.30.2