Searched hist:b852e7a4a9ab6a1fb08c5aa36b1043672fd814dc (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-watchdog | diff b852e7a4a9ab6a1fb08c5aa36b1043672fd814dc Mon Dec 19 15:30:39 CST 2022 Thomas Weißschuh <linux@weissschuh.net> watchdog: report fw_version in sysfs
This synchronizes the information reported by ioctl and sysfs. The mismatch is confusing because "wdctl" from util-linux uses the ioctl when used with root privileges and sysfs without.
The file is called "fw_version" instead of "firmware_version" as "firmware_version" is already used as custom attribute by single drivers.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20221216-watchdog-sysfs-v2-1-6189311103a9@weissschuh.net Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
|
/openbmc/linux/drivers/watchdog/ |
H A D | watchdog_dev.c | diff b852e7a4a9ab6a1fb08c5aa36b1043672fd814dc Mon Dec 19 15:30:39 CST 2022 Thomas Weißschuh <linux@weissschuh.net> watchdog: report fw_version in sysfs
This synchronizes the information reported by ioctl and sysfs. The mismatch is confusing because "wdctl" from util-linux uses the ioctl when used with root privileges and sysfs without.
The file is called "fw_version" instead of "firmware_version" as "firmware_version" is already used as custom attribute by single drivers.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20221216-watchdog-sysfs-v2-1-6189311103a9@weissschuh.net Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
|