Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > 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@xxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 4a50d454502f cw1200: Fix a signedness bug in cw1200_load_firmware() -- https://patchwork.kernel.org/patch/11168561/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches