linux_dsm_epyc7002/drivers/usb/gadget/udc
Gustavo A. R. Silva 07c69f1148 usb: gadget: udc: net2272: Fix bitwise and boolean operations
(!x & y) strikes again.

Fix bitwise and boolean operations by enclosing the expression:

	intcsr & (1 << NET2272_PCI_IRQ)

in parentheses, before applying the boolean operator '!'.

Notice that this code has been there since 2011. So, it would
be helpful if someone can double-check this.

This issue was detected with the help of Coccinelle.

Fixes: ceb80363b2 ("USB: net2272: driver for PLX NET2272 USB device controller")
Cc: stable@vger.kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2019-01-28 15:27:21 +02:00
..
aspeed-vhub usb: gadget: aspeed-vhub: constify usb_gadget_ops structure 2018-11-26 09:06:31 +02:00
bdc cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
amd5536udc_pci.c
amd5536udc.h
at91_udc.c
at91_udc.h
atmel_usba_udc.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
atmel_usba_udc.h
bcm63xx_udc.c
core.c USB: gadget core: Issue ->disconnect() callback from usb_gadget_disconnect() 2018-10-02 10:44:11 +03:00
dummy_hcd.c
fotg210-udc.c usb: gadget: udc: fotg210-udc: Fix a sleep-in-atomic-context bug in fotg210_get_status() 2018-10-02 10:33:24 +03:00
fotg210.h
fsl_mxc_udc.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
fsl_qe_udc.c
fsl_qe_udc.h
fsl_udc_core.c usb: gadget: fsl_udc_core: fixup struct_udc_setup documentation 2018-10-02 10:43:12 +03:00
fsl_usb2_udc.h
fusb300_udc.c
fusb300_udc.h
goku_udc.c
goku_udc.h
gr_udc.c USB: gadget: udc: gr_udc: no need to check return value of debugfs_create functions 2018-05-31 12:54:22 +02:00
gr_udc.h USB: gadget: udc: gr_udc: no need to check return value of debugfs_create functions 2018-05-31 12:54:22 +02:00
Kconfig usb: gadget: udc: renesas_usb3: Add register of usb role switch 2018-07-30 10:39:17 +03:00
lpc32xx_udc.c
m66592-udc.c
m66592-udc.h
Makefile
mv_u3d_core.c
mv_u3d.h
mv_udc_core.c usb: gadget: udc: Remove unnecessary parentheses 2018-10-02 10:30:07 +03:00
mv_udc.h
net2272.c usb: gadget: udc: net2272: Fix bitwise and boolean operations 2019-01-28 15:27:21 +02:00
net2272.h
net2280.c USB: net2280: Remove ->disconnect() callback from net2280_pullup() 2018-10-05 10:50:23 +03:00
net2280.h
omap_udc.c USB: omap_udc: fix rejection of out transfers when DMA is used 2018-11-26 12:38:03 +02:00
omap_udc.h
pch_udc.c usb: gadget: udc: fix spelling mistake "intrerrupt" -> "interrupt" 2018-11-26 09:06:32 +02:00
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c USB: gadget: udc: pxa27x_udc: no need to check return value of debugfs_create functions 2018-05-31 12:54:22 +02:00
pxa27x_udc.h USB: gadget: udc: pxa27x_udc: no need to check return value of debugfs_create functions 2018-05-31 12:54:22 +02:00
r8a66597-udc.c usb: gadget: r8a66597: Fix a possible sleep-in-atomic-context bugs in r8a66597_queue() 2018-07-17 10:12:51 +03:00
r8a66597-udc.h
renesas_usb3.c usb: gadget: udc: renesas_usb3: add a safety connection way for forced_b_device 2018-11-26 09:06:32 +02:00
s3c2410_udc.c USB: gadget: udc: s3c2410_udc: convert to DEFINE_SHOW_ATTRIBUTE 2018-12-07 08:12:15 +02:00
s3c2410_udc.h
s3c-hsudc.c
snps_udc_core.c
snps_udc_plat.c
trace.c
trace.h
udc-xilinx.c usb: gadget: fix spelling mistakeis "[En]queing" -> "[En]queuing" 2018-10-02 10:28:08 +03:00