mirror of https://github.com/torvalds/linux.git
This error triggers on some architectures with unsigned `char` types: drivers/staging/rtl8192e/rtllib_softmac_wx.c:459 rtllib_wx_set_essid() warn: impossible condition '(extra[i] < 0) => (0-255 < 0)' But actually, the entire test is bogus, as ssids don't have any sign validity rules like that. So just remove this check look all together. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-staging@lists.linux.dev Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20221025122150.583617-1-Jason@zx2c4.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| rtl8192e | ||
| Kconfig | ||
| Makefile | ||
| TODO | ||
| dot11d.c | ||
| dot11d.h | ||
| rtl819x_BA.h | ||
| rtl819x_BAProc.c | ||
| rtl819x_HT.h | ||
| rtl819x_HTProc.c | ||
| rtl819x_Qos.h | ||
| rtl819x_TS.h | ||
| rtl819x_TSProc.c | ||
| rtllib.h | ||
| rtllib_crypt_ccmp.c | ||
| rtllib_crypt_tkip.c | ||
| rtllib_crypt_wep.c | ||
| rtllib_debug.h | ||
| rtllib_module.c | ||
| rtllib_rx.c | ||
| rtllib_softmac.c | ||
| rtllib_softmac_wx.c | ||
| rtllib_tx.c | ||
| rtllib_wx.c | ||