diff options
author | Chengguang Xu <cgxu519@mykernel.net> | 2020-06-24 12:21:39 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-24 16:49:07 +0200 |
commit | 0b8eb629a700c0ef15a437758db8255f8444e76c (patch) | |
tree | 6958810d943851e9f8f0f435450d472471b00b2d /Documentation/spi/pxa2xx.rst | |
parent | block: make function 'kill_bdev' static (diff) | |
download | linux-0b8eb629a700c0ef15a437758db8255f8444e76c.tar.xz linux-0b8eb629a700c0ef15a437758db8255f8444e76c.zip |
block: release bip in a right way in error path
Release bip using kfree() in error path when that was allocated
by kmalloc().
Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/spi/pxa2xx.rst')
0 files changed, 0 insertions, 0 deletions