diff options
author | Kyle Tso <[email protected]> | 2023-06-23 23:10:35 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-07-25 17:45:29 +0200 |
commit | 4b642dc9829507e4afabc03d32a18abbdb192c5e (patch) | |
tree | d4a1d8862512c2b2583cf0189008ab1c402d6897 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | b33ebb2415e7e0a55ee3d049c2890d3a3e3805b6 (diff) |
usb: typec: Iterate pds array when showing the pd list
The pointers of each usb_power_delivery handles are stored in "pds"
array returned from the pd_get ops but not in the adjacent memory
calculated from "pd". Get the handles from "pds" array directly instead
of deriving them from "pd".
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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions