mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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:
|
||
|---|---|---|
| .. | ||
| common.c | ||
| common.h | ||
| Kconfig | ||
| Makefile | ||
| p8_i2c.c | ||
| p9_sbe.c | ||
| sysfs.c | ||