scsi_dh_alua: use unaligned access macros
authorHannes Reinecke <hare@suse.de>
Tue, 1 Dec 2015 09:16:52 +0000 (10:16 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Dec 2015 21:37:14 +0000 (16:37 -0500)
commita7089770b95902854f48b3bc7bec026dc8403286
treef71435add33ecd86a366a316a4ccde95e27df0a6
parent6c4fc04491754834d5b5be189ee8f49a1d92b433
scsi_dh_alua: use unaligned access macros

Use 'get_unaligned_XX' and 'put_unaligned_XX' instead of
open-coding it.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_alua.c