diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2011-03-22 16:34:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-22 17:44:15 -0700 |
commit | d03e1617f089c0bcbc22b9d4739e04a0b43b14fa (patch) | |
tree | 4bfaa35d6311bb5d8621282c68dd6991d2df6c32 /include/linux/crc32.h | |
parent | 309c00c73f053a905d144b430d4fb55d811085e2 (diff) | |
download | op-kernel-dev-d03e1617f089c0bcbc22b9d4739e04a0b43b14fa.zip op-kernel-dev-d03e1617f089c0bcbc22b9d4739e04a0b43b14fa.tar.gz |
crc32: add missed brackets in macro
Add brackets around typecasted argument in crc32() macro.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/crc32.h')
-rw-r--r-- | include/linux/crc32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/crc32.h b/include/linux/crc32.h index e20dd1f..391a259 100644 --- a/include/linux/crc32.h +++ b/include/linux/crc32.h @@ -11,7 +11,7 @@ extern u32 crc32_le(u32 crc, unsigned char const *p, size_t len); extern u32 crc32_be(u32 crc, unsigned char const *p, size_t len); -#define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)data, length) +#define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)(data), length) /* * Helpers for hash table generation of ethernet nics: |