summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-10-01 14:45:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-23 10:18:40 +0300
commitb196a0ce26a46157aa4e7e7eaed794840373dd67 (patch)
treeb9192773e485a3c784c2b1d1b65d927292b4f261 /net
parenta05a4e27a02d27037bc48891c97e3ea6f9b97f8e (diff)
downloadlinux-b196a0ce26a46157aa4e7e7eaed794840373dd67.tar.xz
cw1200: Fix a signedness bug in cw1200_load_firmware()
commit 4a50d454502f1401171ff061a5424583f91266db upstream. The "priv->hw_type" is an enum and in this context GCC will treat it as an unsigned int so the error handling will never trigger. Fixes: a910e4a94f69 ("cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions