diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-10-01 14:45:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-23 10:20:35 +0300 |
commit | f5a62384b51cc1f37d7eae781283696557f56d10 (patch) | |
tree | 05ae69da7f620e0de5a9f8b199c27b34873b3a96 /arch/arm64/boot | |
parent | 6adce8341393aa6bd7d51d23eb2c93aef91ea7cd (diff) | |
download | linux-f5a62384b51cc1f37d7eae781283696557f56d10.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 'arch/arm64/boot')
0 files changed, 0 insertions, 0 deletions