]> git.baikalelectronics.ru Git - kernel.git/commit
skd: Move skd_free_sg_list() up
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:30 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commit0f0f6118907cd6237a1cd8e1f1670f4241b09510
treeaebc6e0239ead2194113a28f3346480396585a04
parent7af475b82bcd1b3ffd863c20979a96ac6c777b30
skd: Move skd_free_sg_list() up

Issue a warning if a NULL argument is passed to skd_free_sg_list().
Move this function up to make the blk-mq conversion patch easier
to read.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c