projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b711afa
)
bsg: silence a bogus gcc warning
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 20 Dec 2006 10:26:11 +0000
(11:26 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 16 Jul 2007 06:52:45 +0000
(08:52 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/bsg.c
patch
|
blob
|
blame
|
history
diff --git
a/block/bsg.c
b/block/bsg.c
index 6f05a397dc3a1b9fe78713ffabe675526dd21170..9d77a0c7245774c9c9f9a5dcf17d08b2a5bee656 100644
(file)
--- a/
block/bsg.c
+++ b/
block/bsg.c
@@
-302,7
+302,7
@@
bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr)
{
request_queue_t *q = bd->queue;
struct request *rq;
- int ret, rw
;
+ int ret, rw
= 0; /* shut up gcc */
unsigned int dxfer_len;
void *dxferp = NULL;