diff options
| author | Edward Adam Davis <[email protected]> | 2025-09-10 07:58:47 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-09-12 11:41:55 +0000 |
| commit | 9dfec4a51df9cf0dcc23cb4ac6fc314bf9e999d0 (patch) | |
| tree | 6dbd4726a82267ff2138bef4aa2fa22effcb2930 /tools/lib/api/debug.h | |
| parent | Merge tag 'usb-serial-6.17-rc6' of ssh://gitolite.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-9dfec4a51df9cf0dcc23cb4ac6fc314bf9e999d0.tar.gz kernel-9dfec4a51df9cf0dcc23cb4ac6fc314bf9e999d0.zip | |
USB: core: remove the move buf action
The buffer size of sysfs is fixed at PAGE_SIZE, and the page offset
of the buf parameter of sysfs_emit_at() must be 0, there is no need
to manually manage the buf pointer offset.
Fixes: 711d41ab4a0e ("usb: core: Use sysfs_emit_at() when showing dynamic IDs")
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=b6445765657b5855e869
Tested-by: [email protected]
Signed-off-by: Edward Adam Davis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.h')
0 files changed, 0 insertions, 0 deletions
