return 0;
}
-static int __refill_ringbuffer(struct thread_information *tip, unsigned int len,
+static int __refill_ringbuffer(struct thread_information *tip, int len,
int block)
{
unsigned long off;
} while ((ret = len) && !is_done());
}
-static int read_data(struct thread_information *tip, void *buf, int len)
+static int read_data(struct thread_information *tip, void *buf,
+ unsigned int len)
{
unsigned int start_size, end_size;