linux/drivers/staging/meilhaus
Julia Lawall 530ddf8563 Staging: meilhaus: Correct use of ! and &
ME_IO_SINGLE_TYPE_WRITE_NONBLOCKING and ME_IO_STREAM_CONFIG_WRAPAROUND both
hanve 0 as the rightmost bit, and thus eg
!flags & ME_IO_SINGLE_TYPE_WRITE_NONBLOCKING is always 0.
I assume that !(flags & ME_IO_SINGLE_TYPE_WRITE_NONBLOCKING) and
!(flags & ME_IO_STREAM_CONFIG_WRAPAROUND) were intended.

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

// <smpl>
@@ expression E; constant C; @@
(
  !E & !C
|
- !E & C
+ !(E & C)
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-04-03 14:53:27 -07:00
..
Kconfig Staging: meilhaus: fix Kbuild 2009-01-28 15:49:05 -08:00
Makefile Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_device.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_device.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_dio_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_dio.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_dio.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_ext_irq_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_ext_irq.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me0600_ext_irq.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_optoi_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_optoi.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_optoi.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_relay_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_relay.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_relay.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_ttli_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_ttli.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0600_ttli.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0900_device.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0900_device.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0900_di.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0900_di.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0900_do.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0900_do.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me0900_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1000_device.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1000_device.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1000_dio_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1000_dio.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1000_dio.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1400_device.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1400_device.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1400_ext_irq_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1400_ext_irq.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me1400_ext_irq.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1600_ao_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1600_ao.c Staging: meilhaus: Correct use of ! and & 2009-04-03 14:53:27 -07:00
me1600_ao.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1600_device.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me1600_device.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_ai_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_ai.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me4600_ai.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_ao_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_ao.c Staging: meilhaus: Correct use of ! and & 2009-04-03 14:53:27 -07:00
me4600_ao.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_device.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_device.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_di.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_di.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_dio_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_dio.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_dio.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_do.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_do.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_ext_irq_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_ext_irq.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me4600_ext_irq.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me4600_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me6000_ao_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me6000_ao.c Staging: meilhaus: Correct use of ! and & 2009-04-03 14:53:27 -07:00
me6000_ao.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me6000_device.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me6000_device.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me6000_dio_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me6000_dio.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me6000_dio.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me6000_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8100_device.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8100_device.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8100_di_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8100_di.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me8100_di.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8100_do_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8100_do.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8100_do.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8100_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8200_device.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8200_device.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8200_di_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8200_di.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me8200_di.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8200_dio_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8200_dio.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8200_dio.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8200_do_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8200_do.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me8200_do.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8200_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8254_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8254.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8254.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8255_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8255.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
me8255.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
mecirc_buf.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
mecommon.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
medebug.h staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
medefines.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
medevice.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
medevice.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
medlist.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
medlist.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
medlock.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
medlock.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
medriver.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
medummy.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
medummy.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
meerror.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
mefirmware.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
mefirmware.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
meids.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
meinternal.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
meioctl.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
memain.c Staging: meilhaus: fix __symbol_get problems 2009-01-06 13:52:29 -08:00
memain.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
meplx_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
meslist.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
meslist.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
meslock.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
meslock.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
mesubdevice.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
mesubdevice.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
metempl_device.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
metempl_device.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
metempl_sub_reg.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
metempl_sub.c Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
metempl_sub.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
metypes.h Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00
TODO Staging: Add the Meilhaus ME-IDS driver package 2009-01-06 13:52:29 -08:00