diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-10-23 13:24:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-28 13:12:45 +0100 |
commit | 063a3d67693ecde7f24ca00d4a131883edab1e73 (patch) | |
tree | 721c2298382f53a2d159cee21a512fac00baab63 /crypto/scatterwalk.c | |
parent | Linux 5.10-rc1 (diff) | |
download | linux-063a3d67693ecde7f24ca00d4a131883edab1e73.tar.xz linux-063a3d67693ecde7f24ca00d4a131883edab1e73.zip |
usb: typec: stusb160x: fix some signedness bugs
These variables are enums but in this situation GCC will treat them as
unsigned so the conditions are never true.
Fixes: da0cb6310094 ("usb: typec: add support for STUSB160x Type-C controller family")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20201023112412.GD282278@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/scatterwalk.c')
0 files changed, 0 insertions, 0 deletions