aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorKyle Tso <[email protected]>2023-06-23 15:10:36 +0000
committerGreg Kroah-Hartman <[email protected]>2023-07-25 15:45:29 +0000
commit609fded3f91972ada551c141c5d04a71704f8967 (patch)
tree739cbedc44c20375d74d2f050f4b996b5c3323fe /rust/helpers.c
parentusb: typec: Iterate pds array when showing the pd list (diff)
downloadkernel-609fded3f91972ada551c141c5d04a71704f8967.tar.gz
kernel-609fded3f91972ada551c141c5d04a71704f8967.zip
usb: typec: Use sysfs_emit_at when concatenating the string
The buffer address used in sysfs_emit should be aligned to PAGE_SIZE. Use sysfs_emit_at instead to offset the buffer. Fixes: a7cff92f0635 ("usb: typec: USB Power Delivery helpers for ports and partners") Cc: [email protected] Signed-off-by: Kyle Tso <[email protected]> Acked-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions