Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp567515ybz; Fri, 24 Apr 2020 05:34:43 -0700 (PDT) X-Google-Smtp-Source: APiQypJ4ihOIlY/uHkEppLgBY9/oPEIMCAzeeNprEb1W+8GKTBAMtDFS2kfDyZkhh+niwFaDASwx X-Received: by 2002:a17:907:9481:: with SMTP id dm1mr7140912ejc.9.1587731683736; Fri, 24 Apr 2020 05:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587731683; cv=none; d=google.com; s=arc-20160816; b=QUSGpUIYcI2XbWyQgw0vTZ/Yzby0qxYR4/iaoflmPKtpsfVa1vzsd5dQ7leZ3Bl4MG c44b8ICq1t15lfLq+69PwToG1sdBBnqKqS9euarMSMXXRzWMUBhtU5TiWHcuQvPfxTq3 UJxAuTYB3V7T6hKEwFGEp9CL9/TN+5eypHSDQPuIhZD28TWy+RbvG8+va0co4OgCeuJD l1Y1PgD3oaJSXQERztSbVyqUqkbi4Ge7EK5iZUq8IdzEM0yb8hMpo9gGJ+nwac9R5e+1 6KXxhkn5nfroNY6EGwqjSGP8iSe6umqqaK14TXEHqc0v3k2ovkAg8EkCer+N6N13OJwx z+Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=++uNWri4lNbMU5ZHnU9rFrP+w3VBrcrZV2xbxb7lmDg=; b=UYM4y5JCqEQTtDeAPUFPi/a/bj1lKjz27fb89QJERBtqt+OFmSuJtPY2qCcPNuPnWR Qw/v1bMPpUh2pfBsRcYChx1KxCn6gQuanl8CI1+gRJjDLTMK5EitPNns46xTyXGgb64o SjEnzUvbNtf5MNeQSb/iAeWMUuLbmUgh6gdc1TR8oEgufiZfdRIFpaC79ho1prZDk0xD PUwicyFKElJU7g8cpavaHZBArGL0jk7jltH3L9cjEu7yKeVdwQfmQJ/bIHxHfr7bPu6v e4SFfZ32K2CD6Iif83H9eyWpptoUczFl335QugKJYAyyEUZSd6sVMkn3+eh7L69pCUh6 tLCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VLKf6glM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si3075237edq.123.2020.04.24.05.34.20; Fri, 24 Apr 2020 05:34:43 -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; dkim=pass header.i=@kernel.org header.s=default header.b=VLKf6glM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727055AbgDXMWp (ORCPT + 99 others); Fri, 24 Apr 2020 08:22:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:51876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727038AbgDXMWo (ORCPT ); Fri, 24 Apr 2020 08:22:44 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C4D542087E; Fri, 24 Apr 2020 12:22:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587730963; bh=mdQmb9MY40kZXt9reDoHxPqXLcnVg4QMo5kwsMaw1y0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VLKf6glMWqi6r9dgnSJqpNYdy+13/fZlg0u5mTXM9CVDAJqA77fWvYYns5eKzAJmp 0X7VA7YTdK6rByoo78G+5WfvKe2LiB7rUk8SLEq+stU1BeiBjU4fuY4Oci9lmWiG4C DAiz+mo3E/8NPqB+sZZe1De/KjnWkve1zcXaPGr0= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Ann T Ropea , Guenter Roeck , Sasha Levin , linux-hwmon@vger.kernel.org Subject: [PATCH AUTOSEL 5.6 05/38] hwmon: (drivetemp) Use drivetemp's true module name in Kconfig section Date: Fri, 24 Apr 2020 08:22:03 -0400 Message-Id: <20200424122237.9831-5-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200424122237.9831-1-sashal@kernel.org> References: <20200424122237.9831-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ann T Ropea [ Upstream commit 6bdf8f3efe867c5893e27431a555e41f54ed7f9a ] The addition of the support for reading the temperature of ATA drives as per commit 5b46903d8bf3 ("hwmon: Driver for disk and solid state drives with temperature sensors") lists in the respective Kconfig section the name of the module to be optionally built as "satatemp". However, building the kernel modules with "CONFIG_SENSORS_DRIVETEMP=m", does not generate a file named "satatemp.ko". Instead, the rest of the original commit uses the term "drivetemp" and a file named "drivetemp.ko" ends up in the kernel's modules directory. This file has the right ingredients: $ strings /path/to/drivetemp.ko | grep ^description description=Hard drive temperature monitor and modprobing it produces the expected result: # drivetemp is not loaded $ sensors -u drivetemp-scsi-4-0 Specified sensor(s) not found! $ sudo modprobe drivetemp $ sensors -u drivetemp-scsi-4-0 drivetemp-scsi-4-0 Adapter: SCSI adapter temp1: temp1_input: 35.000 temp1_max: 60.000 temp1_min: 0.000 temp1_crit: 70.000 temp1_lcrit: -40.000 temp1_lowest: 20.000 temp1_highest: 36.000 Fix Kconfig by referring to the true name of the module. Fixes: 5b46903d8bf3 ("hwmon: Driver for disk and solid state drives with temperature sensors") Signed-off-by: Ann T Ropea Link: https://lore.kernel.org/r/20200406235521.185309-1-bedhanger@gmx.de Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- drivers/hwmon/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 47ac20aee06fc..4c1c61aa4b82e 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -403,7 +403,7 @@ config SENSORS_DRIVETEMP hard disk drives. This driver can also be built as a module. If so, the module - will be called satatemp. + will be called drivetemp. config SENSORS_DS620 tristate "Dallas Semiconductor DS620" -- 2.20.1