drivers: CCI: Correct use of ! and &
In commit ae91d60b, 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. The Coccinelle semantic patch that makes this change is as follows: // <smpl> @@ expression E1,E2; @@ ( !E1 & !E2 | - !E1 & E2 + !(E1 & E2) ) // </smpl> Change-Id: I57692dd85c9a2ad74bc19b2a41716e8c7fd5d2cf Signed-off-by:Himangi Saraogi <himangi774@gmail.com> Acked-by:
Julia Lawall <julia.lawall@lip6.fr> Acked-by:
Punit Agrawal <punit.agrawal@arm.com> Signed-off-by:
Olof Johansson <olof@lixom.net> Git-commit: fc5130de8309727540de7cae0199764af34b0919 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Neil Leeder <nleeder@codeaurora.org>
Loading
Please register or sign in to comment