1
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
me0600_device.c
me0600_device.h
me0600_dio_reg.h
me0600_dio.c
me0600_dio.h
me0600_ext_irq_reg.h
me0600_ext_irq.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me0600_ext_irq.h
me0600_optoi_reg.h
me0600_optoi.c
me0600_optoi.h
me0600_relay_reg.h
me0600_relay.c
me0600_relay.h
me0600_ttli_reg.h
me0600_ttli.c
me0600_ttli.h
me0900_device.c
me0900_device.h
me0900_di.c
me0900_di.h
me0900_do.c
me0900_do.h
me0900_reg.h
me1000_device.c
me1000_device.h
me1000_dio_reg.h
me1000_dio.c
me1000_dio.h
me1400_device.c
me1400_device.h
me1400_ext_irq_reg.h
me1400_ext_irq.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me1400_ext_irq.h
me1600_ao_reg.h
me1600_ao.c Staging: meilhaus: Correct use of ! and & 2009-04-03 14:53:27 -07:00
me1600_ao.h
me1600_device.c
me1600_device.h
me4600_ai_reg.h
me4600_ai.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me4600_ai.h
me4600_ao_reg.h
me4600_ao.c Staging: meilhaus: Correct use of ! and & 2009-04-03 14:53:27 -07:00
me4600_ao.h
me4600_device.c
me4600_device.h
me4600_di.c
me4600_di.h
me4600_dio_reg.h
me4600_dio.c
me4600_dio.h
me4600_do.c
me4600_do.h
me4600_ext_irq_reg.h
me4600_ext_irq.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me4600_ext_irq.h
me4600_reg.h
me6000_ao_reg.h
me6000_ao.c Staging: meilhaus: Correct use of ! and & 2009-04-03 14:53:27 -07:00
me6000_ao.h
me6000_device.c
me6000_device.h
me6000_dio_reg.h
me6000_dio.c
me6000_dio.h
me6000_reg.h
me8100_device.c
me8100_device.h
me8100_di_reg.h
me8100_di.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me8100_di.h
me8100_do_reg.h
me8100_do.c
me8100_do.h
me8100_reg.h
me8200_device.c
me8200_device.h
me8200_di_reg.h
me8200_di.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me8200_di.h
me8200_dio_reg.h
me8200_dio.c
me8200_dio.h
me8200_do_reg.h
me8200_do.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
me8200_do.h
me8200_reg.h
me8254_reg.h
me8254.c
me8254.h
me8255_reg.h
me8255.c
me8255.h
mecirc_buf.h
mecommon.h
medebug.h staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
medefines.h
medevice.c
medevice.h
medlist.c
medlist.h
medlock.c
medlock.h
medriver.h
medummy.c
medummy.h
meerror.h
mefirmware.c
mefirmware.h
meids.h
meinternal.h
meioctl.h
memain.c
memain.h
meplx_reg.h
meslist.c
meslist.h
meslock.c
meslock.h
mesubdevice.c
mesubdevice.h
metempl_device.c
metempl_device.h
metempl_sub_reg.h
metempl_sub.c
metempl_sub.h
metypes.h
TODO