aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-10-01 15:01:17 +0300
committerGreg Kroah-Hartman <[email protected]>2019-10-04 11:06:47 +0200
commit7101949f36fc77b530b73e4c6bd0066a2740d75b (patch)
tree2d5779546b084f5ee55ea61a22f33b8f71cae930 /drivers/usb/cdns3/cdns3-debug.h
parent2636d49b64671d3d90ecc4daf971b58df3956519 (diff)
usb: typec: tcpm: usb: typec: tcpm: Fix a signedness bug in tcpm_fw_get_caps()
The "port->typec_caps.data" and "port->typec_caps.type" variables are enums and in this context GCC will treat them as an unsigned int so they can never be less than zero. Fixes: ae8a2ca8a221 ("usb: typec: Group all TCPCI/TCPM code together") Signed-off-by: Dan Carpenter <[email protected]> Cc: stable <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/20191001120117.GA23528@mwanda Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions