android_kernel_xiaomi_sm8350/drivers/serial
Julia Lawall 022d917d96 drivers/serial/m32r_sio.c: correct use of ! and &
In commit e6bafba5b4 ("wmi: (!x & y)
strikes again"), a bug was fixed that involved converting !x & y to !(x
& y).  The code below shows the same pattern, and thus should perhaps be
fixed in the same way.

This is not tested and clearly changes the semantics, so it is only
something to consider.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@ expression E1,E2; @@
(
  !E1 & !E2
|
- !E1 & E2
+ !(E1 & E2)
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-03-04 16:35:16 -08:00
..
cpm_uart Remove pointless casts from void pointers 2008-02-06 10:41:01 -08:00
jsm jsm: Remove further unneeded crud 2007-10-17 08:42:52 -07:00
8250_accent.c
8250_acorn.c
8250_au1x00.c
8250_boca.c
8250_early.c 8250_early: coding style 2008-02-08 09:22:25 -08:00
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c 8250_gsc: coding style 2008-02-08 09:22:25 -08:00
8250_hp300.c 8250_hp300: coding style 2008-02-08 09:22:25 -08:00
8250_hub6.c 8250_hub6: codding style 2008-02-08 09:22:25 -08:00
8250_mca.c
8250_pci.c 8250_pci: coding style 2008-02-08 09:22:25 -08:00
8250_pnp.c serial: add PNP ID GVC0303 for Archtek 3334BRV ISA modem 2008-03-04 16:35:09 -08:00
8250.c 8250: enable rate reporting via termios 2008-02-08 09:22:25 -08:00
8250.h
21285.c [ARM] 21285 serial: fix build error 2008-02-04 13:14:06 +00:00
68328serial.c Char: char/serial, remove SERIAL_TYPE_NORMAL redefines 2008-02-07 08:42:33 -08:00
68328serial.h
68360serial.c
amba-pl010.c
amba-pl011.c amba-pl011, rename BIT macro 2007-10-19 11:53:42 -07:00
atmel_serial.c atmel_serial: fix interrupt handler return value 2008-02-23 17:12:14 -08:00
bfin_5xx.c Blackfin Serial Driver: Fix bug - Only insert UART rx char in timer task. 2008-02-29 12:08:42 +08:00
clps711x.c
crisv10.c Char: char/serial, remove SERIAL_TYPE_NORMAL redefines 2008-02-07 08:42:33 -08:00
crisv10.h CRISv10 serial driver rewrite 2007-11-14 18:45:46 -08:00
dz.c dz.c: Resource management 2008-02-07 08:42:24 -08:00
dz.h dz: clean up and improve the setup of termios settings 2008-02-07 08:42:24 -08:00
icom.c kobject: convert icom to use kref, not kobject 2008-01-24 20:40:09 -08:00
icom.h Coding style fix drivers/serial/icom.h 2008-02-03 14:47:38 +02:00
imx.c Remove pointless casts from void pointers 2008-02-06 10:41:01 -08:00
ioc3_serial.c
ioc4_serial.c
ip22zilog.c IP22ZILOG: fix lockup and sysrq 2007-11-29 09:24:53 -08:00
ip22zilog.h
Kconfig atmel_serial: add DMA support 2008-02-08 09:22:37 -08:00
m32r_sio_reg.h
m32r_sio.c drivers/serial/m32r_sio.c: correct use of ! and & 2008-03-04 16:35:16 -08:00
m32r_sio.h m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
Makefile SC26XX: New serial driver for SC2681 uarts 2008-02-06 10:41:06 -08:00
mcf.c m68knommu: use ARRAY_SIZE in ColdFire serial driver 2008-02-05 09:44:21 -08:00
mcfserial.c
mcfserial.h
mpc52xx_uart.c [POWERPC] mpc52xx: fix compile error introduce when rebasing patch 2008-02-06 22:29:25 -07:00
mpsc.c serial: MPSC: set baudrate when BRG divider is set. 2008-02-05 09:44:10 -08:00
mux.c drivers/serial/: Spelling fixes 2008-02-03 17:29:25 +02:00
netx-serial.c
of_serial.c
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c [ARM] 4662/1: Fix PXA serial driver compilation if SERIAL_PXA_CONSOLE is disabled 2007-11-26 14:39:12 +00:00
s3c2410.c drivers/serial/s3c2410.c: remove dead config symbols 2008-02-05 09:44:09 -08:00
sa1100.c
sb1250-duart.c
sc26xx.c SC26XX: New serial driver for SC2681 uarts 2008-02-06 10:41:06 -08:00
serial_core.c fs/char_dev.c: chrdev_open marked static and removed from fs.h 2008-02-08 09:22:42 -08:00
serial_cs.c pcmcia: replace kio_addr_t with unsigned int everywhere 2008-02-05 09:44:08 -08:00
serial_ks8695.c
serial_lh7a40x.c
serial_txx9.c serial: fix serial_txx9 console initialization 2007-10-30 08:06:55 -07:00
sh-sci.c serial: Move asm-sh/sci.h to linux/serial_sci.h. 2008-02-26 14:52:45 +09:00
sh-sci.h serial: sh-sci: Fix up SH-5 build. 2008-02-14 14:22:12 +09:00
sn_console.c
suncore.c [SERIAL]: Fix section mismatches in Sun serial console drivers. 2007-12-29 01:19:49 -08:00
suncore.h [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunhv.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunsab.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunsab.h
sunsu.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunzilog.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunzilog.h
uartlite.c Merge branch 'for-2.6.25' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-02-07 09:02:26 -08:00
ucc_uart.c [POWERPC] qe-uart: add support for Freescale QUICCEngine UART 2008-01-23 19:34:12 -06:00
v850e_uart.c
vr41xx_siu.c
zs.c
zs.h