aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2008-03-04 14:58:59 -0800
committerJohn W. Linville <[email protected]>2008-03-27 14:51:39 -0400
commitebd9302842ecae39061b269531c0f5e278949cd3 (patch)
tree606480b7f4160629c05d7e739f2e9baf17d4c76f /lib/debugobjects.c
parentdd1f635fe0f14d8c03181f9f1f743b127694fc14 (diff)
drivers/net/wireless/iwlwifi/iwl-4965.c: correct use of ! and &
In commit e6bafba5b4765a5a252f1b8d31cbf6d2459da337, 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 <[email protected]> Cc: Tomas Winkler <[email protected]> Cc: Guy Cohen <[email protected]> Cc: Reinette Chatre <[email protected]> Cc: Zhu Yi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions