diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-28 14:05:54 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-28 14:05:54 +0300 |
commit | 399f157afd30ad942e08dfa0ab28734c50bc6b00 (patch) | |
tree | a772e97b85d91ae5553707f597b4443a511c99ec /Documentation/unaligned-memory-access.txt | |
parent | a09975bf6c756e4555a95258ff4b2286dcfddc4e (diff) | |
parent | 1a08e3d9e0ac4577ba89dbdb38f593fe050f88fc (diff) | |
download | linux-399f157afd30ad942e08dfa0ab28734c50bc6b00.tar.xz |
Merge branch 'devel-stable' into misc
Diffstat (limited to 'Documentation/unaligned-memory-access.txt')
-rw-r--r-- | Documentation/unaligned-memory-access.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/unaligned-memory-access.txt b/Documentation/unaligned-memory-access.txt index a445da098bc6..3f76c0c37920 100644 --- a/Documentation/unaligned-memory-access.txt +++ b/Documentation/unaligned-memory-access.txt @@ -151,7 +151,7 @@ bool ether_addr_equal(const u8 *addr1, const u8 *addr2) #else const u16 *a = (const u16 *)addr1; const u16 *b = (const u16 *)addr2; - return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | (a[2] ^ b[2])) != 0; + return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | (a[2] ^ b[2])) == 0; #endif } |