scsi: sg: factor out sg_fill_request_table()
commit25d5a8a2958f0eb708c36179f6728859a18e60f3
authorHannes Reinecke <hare@suse.de>
Fri, 15 Sep 2017 12:05:15 +0000 (15 14:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Sep 2017 12:39:23 +0000 (27 14:39 +0200)
treea0cf3a9f9d1bfd79fbb634a52c58c90a1bece046
parentc6b9a2007c92cc0bcf2b947ed369fffe1652197e
scsi: sg: factor out sg_fill_request_table()

commit 4759df905a474d245752c9dc94288e779b8734dd upstream.

Factor out sg_fill_request_table() for better readability.

[mkp: typos, applied by hand]

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/sg.c