projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1ff340
)
[PATCH] Silence bogus gcc 4.x warnings
author
Jens Axboe
<axboe@suse.de>
Fri, 17 Feb 2006 10:34:47 +0000
(11:34 +0100)
committer
Jens Axboe
<axboe@suse.de>
Fri, 17 Feb 2006 10:34:47 +0000
(11:34 +0100)
fio-io.c
patch
|
blob
|
blame
|
history
diff --git
a/fio-io.c
b/fio-io.c
index 46cd11a7a1f4fb25bdb2ecc0d42e274b11233847..3f55a19c07429c0182ea7abbb88380249d6ab411 100644
(file)
--- a/
fio-io.c
+++ b/
fio-io.c
@@
-461,7
+461,7
@@
int fio_mmapio_init(struct thread_data *td)
#ifdef FIO_HAVE_SGIO
struct sgio_cmd {
- char cdb[10];
+
unsigned
char cdb[10];
int nr;
};
@@
-497,7
+497,7
@@
static int fio_sgio_getevents(struct thread_data *td, int min, int max,
struct sgio_data *sd = td->io_data;
struct pollfd pfd = { .fd = td->fd, .events = POLLIN };
void *buf = malloc(max * sizeof(struct sg_io_hdr));
- int left = max, ret, events, i, r = 0, fl;
+ int left = max, ret, events, i, r = 0, fl
= 0
;
/*
* don't block for !events