Signed-off-by: Jens Axboe <axboe@kernel.dk>
static inline int td_non_fatal_error(struct thread_data *td,
enum error_type_bit etype, int err)
{
- int i;
+ unsigned int i;
+
if (!td->o.ignore_error[etype]) {
td->o.ignore_error[etype] = __NON_FATAL_ERR;
td->o.ignore_error_nr[etype] = sizeof(__NON_FATAL_ERR)
int last_tv_valid;
};
#ifdef CONFIG_TLS_THREAD
-static struct tv_valid __thread static_tv_valid;
+static __thread struct tv_valid static_tv_valid;
#else
static pthread_key_t tv_tls_key;
#endif
free(threadstats);
}
-static void *__show_running_run_stats(void *arg)
+static void *__show_running_run_stats(void fio_unused *arg)
{
struct thread_data *td;
unsigned long long *rt;