xen/scsifront: use offset_in_page() macro
authorGeliang Tang <geliangtang@gmail.com>
Sat, 22 Apr 2017 01:21:13 +0000 (09:21 +0800)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:14:53 +0000 (11:14 +0200)
commit6483e3135a693548874429db901c0544d3a9b4cd
treef0d0e8f1ad71fc7c28306af0dd6da6a7858e7b43
parentd5ff5061c35448525fcb38950f06af6b9ae12c04
xen/scsifront: use offset_in_page() macro

Use offset_in_page() macro instead of open-coding.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/scsi/xen-scsifront.c