diff options
Diffstat (limited to 'lib/libcrc32c.c')
-rw-r--r-- | lib/libcrc32c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrc32c.c b/lib/libcrc32c.c index 60f46803af3f..802f11f0bf5b 100644 --- a/lib/libcrc32c.c +++ b/lib/libcrc32c.c | |||
@@ -66,7 +66,7 @@ EXPORT_SYMBOL(crc32c_le); | |||
66 | * loop below with crc32 and vary the POLY if we don't find value in terms | 66 | * loop below with crc32 and vary the POLY if we don't find value in terms |
67 | * of space and maintainability in keeping the two modules separate. | 67 | * of space and maintainability in keeping the two modules separate. |
68 | */ | 68 | */ |
69 | u32 __attribute_pure__ | 69 | u32 __pure |
70 | crc32c_le(u32 crc, unsigned char const *p, size_t len) | 70 | crc32c_le(u32 crc, unsigned char const *p, size_t len) |
71 | { | 71 | { |
72 | int i; | 72 | int i; |
@@ -160,7 +160,7 @@ static const u32 crc32c_table[256] = { | |||
160 | * crc using table. | 160 | * crc using table. |
161 | */ | 161 | */ |
162 | 162 | ||
163 | u32 __attribute_pure__ | 163 | u32 __pure |
164 | crc32c_le(u32 seed, unsigned char const *data, size_t length) | 164 | crc32c_le(u32 seed, unsigned char const *data, size_t length) |
165 | { | 165 | { |
166 | u32 crc = __cpu_to_le32(seed); | 166 | u32 crc = __cpu_to_le32(seed); |
@@ -177,7 +177,7 @@ crc32c_le(u32 seed, unsigned char const *data, size_t length) | |||
177 | EXPORT_SYMBOL(crc32c_be); | 177 | EXPORT_SYMBOL(crc32c_be); |
178 | 178 | ||
179 | #if CRC_BE_BITS == 1 | 179 | #if CRC_BE_BITS == 1 |
180 | u32 __attribute_pure__ | 180 | u32 __pure |
181 | crc32c_be(u32 crc, unsigned char const *p, size_t len) | 181 | crc32c_be(u32 crc, unsigned char const *p, size_t len) |
182 | { | 182 | { |
183 | int i; | 183 | int i; |