diff options
author | 2019-01-22 15:28:08 -0600 | |
---|---|---|
committer | 2019-01-28 15:27:21 +0200 | |
commit | 07c69f1148da7de3978686d3af9263325d9d60bd (patch) | |
tree | f53fd268280d847c697af3c98d0f7e1bc9994f5c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | usb: dwc3: gadget: Handle 0 xfer length for OUT EP (diff) | |
download | wireguard-linux-07c69f1148da7de3978686d3af9263325d9d60bd.tar.xz wireguard-linux-07c69f1148da7de3978686d3af9263325d9d60bd.zip |
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: ceb80363b2ec ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions