commit | a3d2ae043f6453aff68b617aabfc6710b1fa675d | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri Feb 23 15:00:08 2018 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 01 17:32:36 2018 +0100 |
tree | 452a0397aaa99b6b14a78f06af0c95e8b5db72eb | |
parent | 5a12129d8e321fe9f84bae6f96afd0e2c7a2a86b [diff] |
staging: rtl8723bs: fix u8 less than zero check The error variable ret is currently a u8 and so two comparisons to see if an error return is less than zero will always be false because ret is unsigned. Fix this by making ret an int. Fixes: 554c0a3abf21 ("staging: Add rtl8723bs sdio wifi driver") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>