linux_dsm_epyc7002/arch/sh
Julia Lawall b2d7c7f7a6 arch/sh/drivers/dma/dma-sh.c: Correct use of ! and &
In commit e6bafba5b4, 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>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-02-27 10:28:48 +09:00
..
boards sh: Kill off bogus SH_SDK7780_STANDALONE symbol. 2008-02-14 14:22:11 +09:00
boot sh: Fix up KERNEL_ENTRY calculation for uImage. 2008-01-28 13:19:01 +09:00
cchips sh: Kill off more dead symbols. 2008-02-14 14:22:12 +09:00
configs sh: Kill off more dead symbols. 2008-02-14 14:22:12 +09:00
drivers arch/sh/drivers/dma/dma-sh.c: Correct use of ! and & 2008-02-27 10:28:48 +09:00
kernel serial: Move asm-sh/sci.h to linux/serial_sci.h. 2008-02-26 14:52:45 +09:00
lib sh: Explicit alignment for PAGE_SIZE in copy/clear_page(). 2008-01-28 13:18:58 +09:00
lib64 sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Fix multiple UTLB hit on UP SH-4. 2008-02-14 14:45:08 +09:00
oprofile sh: Add -Werror for clean directories. 2007-11-07 11:13:55 +09:00
tools sh: Add mach-type entries for MigoR and SDK7780. 2008-02-14 14:22:08 +09:00
Kconfig sh: SH5-103 needs to select CPU_SH5. 2008-02-25 18:49:45 +09:00
Kconfig.cpu sh: Disable big endian for SH-5. 2008-02-14 14:22:10 +09:00
Kconfig.debug sh: Clean up whitespace damage in Kconfig.debug. 2008-02-14 14:22:10 +09:00
Makefile sh: migor board support 2008-02-14 14:22:08 +09:00