git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d975f30
)
block: fix bogus compiler warnings in blk-merge.c
author
Jens Axboe
<axboe@fb.com>
Wed, 2 Sep 2015 22:46:02 +0000
(16:46 -0600)
committer
Jens Axboe
<axboe@fb.com>
Wed, 2 Sep 2015 22:46:02 +0000
(16:46 -0600)
The compiler can't figure out that bvprv is initialized whenever 'prev'
is set to 1 as well. Use a pointer to bvprv instead, setting it to NULL
initially, and get rid of the 'prev' tracking. This dumbs it down
enough that gcc is happy.
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-merge.c
patch
|
blob
|
history
diff --cc
block/blk-merge.c
Simple merge