summaryrefslogtreecommitdiff
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-07-20 03:19:59 +0530
committerScott Wood <scottwood@freescale.com>2014-07-29 19:26:31 -0500
commit3894817fb1df6261bbfff7d2d540510372883543 (patch)
tree6a05787668c8976abb617faad5aed19d008d25a4 /arch/powerpc/Kconfig
parent983e2444100667b4b35c9d56c9a1fec1e817143c (diff)
downloadlwn-3894817fb1df6261bbfff7d2d540510372883543.tar.gz
lwn-3894817fb1df6261bbfff7d2d540510372883543.zip
powerpc/fsl-pci: Correct use of ! and &
In commit ae91d60ba88ef0bdb1b5e9b2363bd52fc45d2af7, 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 Coccinelle semantic patch that makes this change is as follows: // <smpl> @@ expression E1,E2; @@ ( !E1 & !E2 | - !E1 & E2 + !(E1 & E2) ) // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/Kconfig')
0 files changed, 0 insertions, 0 deletions