Patch "hwmon: (drivetemp) Use drivetemp's true module name in Kconfig section" has been added to the 5.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    hwmon: (drivetemp) Use drivetemp's true module name in Kconfig section

to the 5.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     hwmon-drivetemp-use-drivetemp-s-true-module-name-in-.patch
and it can be found in the queue-5.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit c44700990c5f3118fd6b162aadeaec81f9dcbd80
Author: Ann T Ropea <bedhanger@xxxxxx>
Date:   Tue Apr 7 01:55:21 2020 +0200

    hwmon: (drivetemp) Use drivetemp's true module name in Kconfig section
    
    commit 6bdf8f3efe867c5893e27431a555e41f54ed7f9a upstream.
    
    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 <bedhanger@xxxxxx>
    Link: https://lore.kernel.org/r/20200406235521.185309-1-bedhanger@xxxxxx
    Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

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"



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux