summaryrefslogtreecommitdiffstats
path: root/fs/proc
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 /fs/proc
parentd975f309a8b250e67b66eabeb56be6989c783629 (diff)
downloadop-kernel-dev-5014c311baa2b21384321fa4a9f617a92e3e56f0.zip
op-kernel-dev-5014c311baa2b21384321fa4a9f617a92e3e56f0.tar.gz
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 'fs/proc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud