linux/arch/x86/mm/kmemcheck
Julia Lawall 9fbaf49c7f x86, kmemcheck: Remove double test
The opcodes 0x2e and 0x3e are tested for in the first Group 2
line as well.

The sematic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@expression@
expression E;
@@

(
* E
  || ... || E
|
* E
  && ... && E
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Vegard Nossum <vegardno@ifi.uio.no>
LKML-Reference: <1283010066-20935-5-git-send-email-julia@diku.dk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-08-30 09:19:28 +02:00
..
error.c x86, kmemcheck: Use KERN_WARNING for error reporting 2009-12-28 10:28:35 +01:00
error.h kmemcheck: add the kmemcheck core 2009-06-13 15:37:30 +02:00
kmemcheck.c kmemcheck: Test the full object in kmemcheck_is_obj_initialized() 2010-02-17 21:39:08 +02:00
Makefile kmemcheck: add opcode self-testing at boot 2009-06-15 15:49:22 +02:00
opcode.c x86, kmemcheck: Remove double test 2010-08-30 09:19:28 +02:00
opcode.h kmemcheck: add the kmemcheck core 2009-06-13 15:37:30 +02:00
pte.c kmemcheck: add the kmemcheck core 2009-06-13 15:37:30 +02:00
pte.h kmemcheck: add the kmemcheck core 2009-06-13 15:37:30 +02:00
selftest.c kmemcheck: add opcode self-testing at boot 2009-06-15 15:49:22 +02:00
selftest.h kmemcheck: add opcode self-testing at boot 2009-06-15 15:49:22 +02:00
shadow.c kmemcheck: Test the full object in kmemcheck_is_obj_initialized() 2010-02-17 21:39:08 +02:00
shadow.h kmemcheck: Test the full object in kmemcheck_is_obj_initialized() 2010-02-17 21:39:08 +02:00