summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-09-02 16:46:02 -0600
committerJens Axboe <axboe@fb.com>2015-09-02 16:46:02 -0600
commit5014c311baa2b21384321fa4a9f617a92e3e56f0 (patch)
treec9f2fab874651482e91185c8544ab9bd604e871a /drivers
parentd975f309a8b250e67b66eabeb56be6989c783629 (diff)
downloadlinux-5014c311baa2b21384321fa4a9f617a92e3e56f0.tar.gz
linux-5014c311baa2b21384321fa4a9f617a92e3e56f0.tar.xz
block: fix bogus compiler warnings in blk-merge.c
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions