diff options
| -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) | |||
| 151 | #else | 151 | #else |
| 152 | const u16 *a = (const u16 *)addr1; | 152 | const u16 *a = (const u16 *)addr1; |
| 153 | const u16 *b = (const u16 *)addr2; | 153 | const u16 *b = (const u16 *)addr2; |
| 154 | return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | (a[2] ^ b[2])) != 0; | 154 | return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | (a[2] ^ b[2])) == 0; |
| 155 | #endif | 155 | #endif |
| 156 | } | 156 | } |
| 157 | 157 | ||
