diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-08-04 09:47:23 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-08-10 04:48:57 +0200 |
commit | a598af7f0279195abffbfb9bf2070457e9c89ff3 (patch) | |
tree | f2ebc9053cd17f5e5618ac898bd751c80c7e6c65 /drivers/eisa | |
parent | extcon: Drop owner assignment from i2c_driver (diff) | |
download | linux-a598af7f0279195abffbfb9bf2070457e9c89ff3.tar.xz linux-a598af7f0279195abffbfb9bf2070457e9c89ff3.zip |
extcon: Fix signedness bugs about break error handling
Unsigned is never less than zero so this error handling won't work.
Fixes: be052cc87745 ('extcon: Fix hang and extcon_get/set_cable_state().')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>
[cw00.choi: Change the patch title and fix signedness bug of find_cable_index_by_id() ]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions