summaryrefslogtreecommitdiff
path: root/crc
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-02-09 21:17:06 +0100
committerJens Axboe <axboe@kernel.dk>2012-02-09 21:17:06 +0100
commitcc62ea704e4de10eb595b551f29af41266cf225d (patch)
tree9b175aed80f20780084ef0aa67fc169c09dd3eec /crc
parente721c57fc77e0155bb73a2c266dba0c6ce0bd3b5 (diff)
Fix a few other static code checker spotted "issues"
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crc')
-rw-r--r--crc/crc32c-intel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crc/crc32c-intel.c b/crc/crc32c-intel.c
index 969a037..5040efe 100644
--- a/crc/crc32c-intel.c
+++ b/crc/crc32c-intel.c
@@ -28,8 +28,8 @@
#define SCALE_F 4
#endif
-uint32_t crc32c_intel_le_hw_byte(uint32_t crc, unsigned char const *data,
- unsigned long length)
+static uint32_t crc32c_intel_le_hw_byte(uint32_t crc, unsigned char const *data,
+ unsigned long length)
{
while (length--) {
__asm__ __volatile__(