summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSanman Pradhan <psanman@juniper.net>2026-03-26 22:45:29 +0000
committerGuenter Roeck <linux@roeck-us.net>2026-03-30 13:21:43 -0700
commit09773978879ecf71a7990fe9a28ce4eb92bce645 (patch)
treedd8dcb3dc7d8a6bd6654f3b2f6e3acc305c60f7a /include
parent39e2a5bf970402a8530a319cf06122e216ba57b8 (diff)
hwmon: (occ) Fix missing newline in occ_show_extended()
In occ_show_extended() case 0, when the EXTN_FLAG_SENSOR_ID flag is set, the sysfs_emit format string "%u" is missing the trailing newline that the sysfs ABI expects. The else branch correctly uses "%4phN\n", and all other show functions in this file include the trailing newline. Add the missing "\n" for consistency and correct sysfs output. Fixes: c10e753d43eb ("hwmon (occ): Add sensor types and versions") Signed-off-by: Sanman Pradhan <psanman@juniper.net> Link: https://lore.kernel.org/r/20260326224510.294619-3-sanman.pradhan@hpe.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions