Signed-off-by: Jens Axboe <axboe@kernel.dk>
-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__(
{
while (length--) {
__asm__ __volatile__(
fifo = malloc(sizeof(struct fifo));
if (!fifo)
fifo = malloc(sizeof(struct fifo));
if (!fifo)
fifo->buffer = malloc(size);
fifo->size = size;
fifo->buffer = malloc(size);
fifo->size = size;
/*
* Convert string into a floating number. Return 1 for success and 0 otherwise.
*/
/*
* Convert string into a floating number. Return 1 for success and 0 otherwise.
*/
-int str_to_float(const char *str, double *val)
+static int str_to_float(const char *str, double *val)
{
return (1 == sscanf(str, "%lf", val));
}
{
return (1 == sscanf(str, "%lf", val));
}