From: Jens Axboe Date: Wed, 2 Sep 2015 22:46:02 +0000 (-0600) Subject: block: fix bogus compiler warnings in blk-merge.c X-Git-Tag: omap-for-v4.3/fixes-rc5~111^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5014c311baa2;p=pandora-kernel.git 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 --- Reading git-diff-tree failed