Yep, agreeing tho You-Sheng.
People are seeing this when e.g. using lm-sensores as it will trigger the hwmon
interfaces which have plenty of these old calls.
Here an example list:
Documentation/hwmon/hwmon-kernel-api.rst:27:
hwmon_device_register_with_groups(struct device *dev, const char
Harmless. There are still 40+ drivers using this API in current mainline
kernel v5.4.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1760273
Title:
kernel: (NULL device *): hwmon_device_register()
Is this bug harmless?
This bug still exists. My system ubuntu uname -a:
Linux vanoy 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
kernel 4.15.0-15
kernel: (NULL device *): hwmon_device_register() is deprecated. Please
convert the driver to use hwmon_device_register_with_info()
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
#5 comment addon
Greping like in #7 the vanilla 4.16 kernel also expose:
EXPORT_SYMBOL_GPL vmlinux 0xhwmon_device_register
but greping journalctl does not show that warning; maybe it is simply
silenced.
--
You received this bug notification because you are a member of Ubuntu
Bugs,
oem@ubuntu:/boot$ sudo grep hwmon_device_register abi-4.15.0-14-generic
EXPORT_SYMBOL_GPL vmlinux 0xdevm_hwmon_device_register_with_groups
EXPORT_SYMBOL_GPL vmlinux 0xdevm_hwmon_device_register_with_info
EXPORT_SYMBOL_GPL vmlinux 0xhwmon_device_register #
Test with 4.15.0-14-generic kernel
oem@ubuntu:~$ journalctl -b | grep hwmon_device_register
Apr 03 16:22:25 ubuntu kernel: (NULL device *): hwmon_device_register() is
deprecated. Please convert the driver to use hwmon_device_register_with_info().
--
You received this bug notification because
** No longer affects: lm-sensors (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1760273
Title:
kernel: (NULL device *): hwmon_device_register() is deprecated. Please
convert the driver to
Have tested the 4.16 vanilla kernel; and the hwmon warning is gone now.
** Tags added: kernel-bug-fixed-upstream
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1760273
Title:
kernel: (NULL device
Still exist in Bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1760273
Title:
kernel: (NULL device *): hwmon_device_register() is deprecated. Please
convert the driver to use
Do you happen to know if this bug also exists in Bionic?
** Changed in: linux (Ubuntu)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1760273
Title:
kernel: (NULL device *): hwmon_device_register() is deprecated.
12 matches
Mail list logo