git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[CHELSIO]: Fix skb->dev setting.
[pandora-kernel.git]
/
lib
/
crc32.c
diff --git
a/lib/crc32.c
b/lib/crc32.c
index
bfc3331
..
d2c2f25
100644
(file)
--- a/
lib/crc32.c
+++ b/
lib/crc32.c
@@
-49,7
+49,7
@@
MODULE_LICENSE("GPL");
* @p: pointer to buffer over which CRC is run
* @len: length of buffer @p
*/
* @p: pointer to buffer over which CRC is run
* @len: length of buffer @p
*/
-u32 __
attribute_pure__
crc32_le(u32 crc, unsigned char const *p, size_t len);
+u32 __
pure
crc32_le(u32 crc, unsigned char const *p, size_t len);
#if CRC_LE_BITS == 1
/*
#if CRC_LE_BITS == 1
/*
@@
-57,7
+57,7
@@
u32 __attribute_pure__ crc32_le(u32 crc, unsigned char const *p, size_t len);
* simplified by inlining the table in ?: form.
*/
* simplified by inlining the table in ?: form.
*/
-u32 __
attribute_pure__
crc32_le(u32 crc, unsigned char const *p, size_t len)
+u32 __
pure
crc32_le(u32 crc, unsigned char const *p, size_t len)
{
int i;
while (len--) {
{
int i;
while (len--) {
@@
-69,7
+69,7
@@
u32 __attribute_pure__ crc32_le(u32 crc, unsigned char const *p, size_t len)
}
#else /* Table-based approach */
}
#else /* Table-based approach */
-u32 __
attribute_pure__
crc32_le(u32 crc, unsigned char const *p, size_t len)
+u32 __
pure
crc32_le(u32 crc, unsigned char const *p, size_t len)
{
# if CRC_LE_BITS == 8
const u32 *b =(u32 *)p;
{
# if CRC_LE_BITS == 8
const u32 *b =(u32 *)p;
@@
-145,7
+145,7
@@
u32 __attribute_pure__ crc32_le(u32 crc, unsigned char const *p, size_t len)
* @p: pointer to buffer over which CRC is run
* @len: length of buffer @p
*/
* @p: pointer to buffer over which CRC is run
* @len: length of buffer @p
*/
-u32 __
attribute_pure__
crc32_be(u32 crc, unsigned char const *p, size_t len);
+u32 __
pure
crc32_be(u32 crc, unsigned char const *p, size_t len);
#if CRC_BE_BITS == 1
/*
#if CRC_BE_BITS == 1
/*
@@
-153,7
+153,7
@@
u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len);
* simplified by inlining the table in ?: form.
*/
* simplified by inlining the table in ?: form.
*/
-u32 __
attribute_pure__
crc32_be(u32 crc, unsigned char const *p, size_t len)
+u32 __
pure
crc32_be(u32 crc, unsigned char const *p, size_t len)
{
int i;
while (len--) {
{
int i;
while (len--) {
@@
-167,7
+167,7
@@
u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len)
}
#else /* Table-based approach */
}
#else /* Table-based approach */
-u32 __
attribute_pure__
crc32_be(u32 crc, unsigned char const *p, size_t len)
+u32 __
pure
crc32_be(u32 crc, unsigned char const *p, size_t len)
{
# if CRC_BE_BITS == 8
const u32 *b =(u32 *)p;
{
# if CRC_BE_BITS == 8
const u32 *b =(u32 *)p;