linux-brain/drivers/staging
Nathan Chancellor 4cd05e390a staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb()
commit 099ec97ac92911abfb102bb5c68ed270fc12e0dd upstream.

clang warns:

drivers/staging/rtl8192u/r8192U_core.c:4268:20: warning: bitwise and of
boolean expressions; did you mean logical and? [-Wbool-operation-and]
        bpacket_toself =  bpacket_match_bssid &
                          ^~~~~~~~~~~~~~~~~~~~~
                                              &&
1 warning generated.

Replace the bitwise AND with a logical one to clear up the warning, as
that is clearly what was intended.

Fixes: 8fc8598e61 ("Staging: Added Realtek rtl8192u driver to staging")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20210814235625.1780033-1-nathan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-26 14:07:07 +02:00
..
android staging: android: ashmem: Fix lockdep warning for write operation 2020-08-11 15:33:34 +02:00
axis-fifo
board staging: board: Fix uninitialized spinlock when attaching genpd 2021-09-22 12:26:28 +02:00
clocking-wizard
comedi staging: comedi: cb_pcidas64: fix request_irq() warn 2021-04-07 14:47:40 +02:00
emxx_udc staging: emxx_udc: fix loop in _nbu2ss_nuke() 2021-06-03 08:59:15 +02:00
exfat exfat: Month timestamp metadata accidentally incremented 2021-01-17 14:05:34 +01:00
fbtft staging: fbtft: Rectify GPIO handling 2021-07-14 16:53:36 +02:00
fieldbus staging: fieldbus: anybuss: jump to correct label in an error path 2020-11-05 11:43:37 +01:00
fsl-dpaa2
fwserial staging: fwserial: fix TIOCSSERIAL permission check 2021-05-14 09:44:11 +02:00
gasket staging: gasket: interrupt: fix the missed eventfd_ctx_put() in gasket_interrupt.c 2020-12-30 11:51:07 +01:00
gdm724x staging: gdm724x: check for overflow in gdm_lte_netif_rx() 2021-07-14 16:53:44 +02:00
goldfish
greybus staging: greybus: uart: fix unprivileged TIOCCSERIAL 2021-05-14 09:44:20 +02:00
gs_fpgaboot
iio staging: iio: cdc: ad7746: avoid overwrite of num_channels 2021-06-03 08:59:04 +02:00
isdn
kpc2000 staging: kpc2000: fix error return code in kp2000_pcie_probe() 2020-05-27 17:46:45 +02:00
ks7010 staging: ks7010: Fix the initialization of the 'sleep_status' structure 2021-09-22 12:26:30 +02:00
media media: imx-csi: Skip first few frames from a BT.656 source 2021-07-14 16:53:14 +02:00
most staging: most: sound: add sanity check for function argument 2021-03-07 12:20:45 +01:00
mt7621-dma staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c 2021-03-04 10:26:46 +01:00
mt7621-dts staging: mt7621-dts: fix pci address for PCI memory range 2021-07-14 16:53:44 +02:00
mt7621-pci staging: mt7621-pci: add quirks for 'E2' revision using 'soc_device_attribute' 2020-02-01 09:34:47 +00:00
mt7621-pci-phy
mt7621-pinctrl pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled 2021-06-23 14:41:27 +02:00
netlogic
nvec
octeon staging/octeon: fix up merge error 2020-12-08 10:40:24 +01:00
octeon-usb
olpc_dcon
pi433
qlge
ralink-gdma staging: ralink-gdma: fix kconfig dependency bug for DMA_RALINK 2020-12-02 08:49:47 +01:00
rtl8188eu staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data() 2021-03-17 17:03:53 +01:00
rtl8192e staging: rtl8192e: Change state information from u16 to u8 2021-04-07 14:47:44 +02:00
rtl8192u staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb() 2021-09-26 14:07:07 +02:00
rtl8712 staging: rtl8712: get rid of flush_scheduled_work 2021-08-12 13:21:01 +02:00
rtl8723bs staging: rtl8723bs: Fix a resource leak in sd_int_dpc 2021-08-12 13:21:01 +02:00
rts5208 staging: rts5208: Fix get_ms_information() heap buffer size 2021-09-22 12:26:33 +02:00
sm750fb staging: sm750fb: add missing case while setting FB_VISUAL 2020-06-24 17:50:24 +02:00
speakup speakup: fix uninitialized flush_lock 2020-12-30 11:51:22 +01:00
unisys
uwb
vc04_services staging: bcm2835-audio: Replace unsafe strcpy() with strscpy() 2021-03-07 12:20:45 +01:00
vme
vt6655
vt6656 staging: vt6656: Power save stop wake_up_count wrap around. 2020-04-29 16:33:22 +02:00
wilc1000 net: wilc1000: clean up resource in error path of init mon interface 2020-10-29 09:57:40 +01:00
wlan-ng staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb() 2020-09-17 13:47:51 +02:00
wusbcore
Kconfig
Makefile