summaryrefslogtreecommitdiffstats
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-02 03:32:33 +0000
committerRobert Love <robert.w.love@intel.com>2013-10-14 08:25:40 -0700
commit6942df7f775107b504f10de42c81971f514d718d (patch)
tree9abb29ea3ffe7f72d1d56b487fc5a31acc5af6eb /crypto/Makefile
parent55d0ac5d2839fe270cea02fad44eed13750a0efd (diff)
downloadop-kernel-dev-6942df7f775107b504f10de42c81971f514d718d.zip
op-kernel-dev-6942df7f775107b504f10de42c81971f514d718d.tar.gz
scsi: Convert uses of compare_ether_addr to ether_addr_equal
Preliminary to removing compare_ether_addr altogether: Use the new bool function ether_addr_equal to add some clarity and reduce the likelihood for misuse of compare_ether_addr for sorting. Done via cocci script: $ cat compare_ether_addr.cocci @@ expression a,b; @@ - !compare_ether_addr(a, b) + ether_addr_equal(a, b) @@ expression a,b; @@ - compare_ether_addr(a, b) + !ether_addr_equal(a, b) @@ expression a,b; @@ - !ether_addr_equal(a, b) == 0 + ether_addr_equal(a, b) @@ expression a,b; @@ - !ether_addr_equal(a, b) != 0 + !ether_addr_equal(a, b) @@ expression a,b; @@ - ether_addr_equal(a, b) == 0 + !ether_addr_equal(a, b) @@ expression a,b; @@ - ether_addr_equal(a, b) != 0 + ether_addr_equal(a, b) @@ expression a,b; @@ - !!ether_addr_equal(a, b) + ether_addr_equal(a, b) Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'crypto/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud