aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-07-12 14:05:50 +0000
committerGreg Kroah-Hartman <[email protected]>2024-07-31 08:39:47 +0000
commit3c526089a663e25ac78b6a61d84a52a83680d0c3 (patch)
tree4194dcb32a3bd1e767e246425372f9d00c68d262 /scripts/gcc-plugins/randomize_layout_plugin.c
parentusb: typec: fsa4480: Check if the chip is really there (diff)
downloadkernel-3c526089a663e25ac78b6a61d84a52a83680d0c3.tar.gz
kernel-3c526089a663e25ac78b6a61d84a52a83680d0c3.zip
usb: typec: tcpci: Fix error code in tcpci_check_std_output_cap()
The tcpci_check_std_output_cap() function is supposed to return negative error codes but it's declared as type bool so the error handling doesn't work. Declare it as an int instead. Fixes: 62ce9ef14797 ("usb: typec: tcpci: add support to set connector orientation") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Reviewed-by: Marco Felsch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions