scsi: sg: factor out sg_fill_request_table()
authorHannes Reinecke <hare@suse.de>
Fri, 15 Sep 2017 12:05:15 +0000 (14:05 +0200)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:09:25 +0000 (01:09 +0000)
commit0d1ab812848f3422f7adb6163a5d8800dd46d861
tree4542546c337ccd9797554a73d21b85cb24319a8a
parent3bd640e0116968e2d7ba7390a239f7d2d1f72502
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