mirror of https://github.com/torvalds/linux.git
A warning is seen when running the latest kernel on a BlueField SOC:
[251.512704] ------------[ cut here ]------------
[251.512711] invalid sysfs_emit: buf:0000000003aa32ae
[251.512720] WARNING: CPU: 1 PID: 705264 at fs/sysfs/file.c:767 sysfs_emit+0xac/0xc8
The warning is triggered because the mlxbf-bootctl driver invokes
"sysfs_emit()" with a buffer pointer that is not aligned to the
start of the page. The driver should instead use "sysfs_emit_at()"
to support non-zero offsets into the destination buffer.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mlx-platform.c | ||
| mlxbf-bootctl.c | ||
| mlxbf-bootctl.h | ||
| mlxbf-pmc.c | ||
| mlxbf-tmfifo-regs.h | ||
| mlxbf-tmfifo.c | ||
| mlxreg-hotplug.c | ||
| mlxreg-io.c | ||
| mlxreg-lc.c | ||
| nvsw-sn2201.c | ||