]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: fix bogus gcc warning for uninitialized var usage
authorJens Axboe <jens.axboe@oracle.com>
Thu, 19 Feb 2009 07:50:26 +0000 (08:50 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 26 Feb 2009 09:45:48 +0000 (10:45 +0100)
commitb2bf96833c5782befc3e7700f791fde754a47b01
treeb38745750c948b519e4c46bb9589d3a61c6359f4
parent169d418b127b98a3e464e9c4b807ad083760f98c
block: fix bogus gcc warning for uninitialized var usage

Newer gcc throw this warning:

        fs/bio.c: In function ?bio_alloc_bioset?:
        fs/bio.c:305: warning: ?p? may be used uninitialized in this function

since it cannot figure out that 'p' is only ever used if 'bs' is non-NULL.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/bio.c