]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Staging: Correct use of ! and &
authorJulia Lawall <julia@diku.dk>
Mon, 27 Jul 2009 19:59:48 +0000 (21:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:06 +0000 (12:02 -0700)
commit2e9ab1e72c631041f8a1c1d1fc7e5359e7e4a476
treee406613de660461b9b5c45f4b27595501b3d5cf7
parent658ce9d653056a537df70e3a796654446fc9ff64
Staging: Correct use of ! and &

Correct priority problem in the use of ! and &.

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)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt3090/sta_ioctl.c
drivers/staging/vt6656/iwctl.c