arcmsr: fix ioctl data read/write error for adapter type C
authorChing Huang <ching2048@areca.com.tw>
Tue, 19 Aug 2014 07:17:45 +0000 (15:17 +0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:40:01 +0000 (09:40 -0700)
commitbb263c4ecbb186fe394c6c9acc32d8c59b6a7bdd
treedd1841d010aae6c78fd2f13b5f5e3b7b32b23754
parent6e38adfc58406e7ea6f6701c49abaf046ce076a8
arcmsr: fix ioctl data read/write error for adapter type C

Rewrite ioctl entry and its relate function.  This patch fix ioctl data
read/write error and change data I/O access from byte to Dword.

Signed-off-by: Ching Huang <ching2048@areca.com.tw>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/arcmsr/arcmsr.h
drivers/scsi/arcmsr/arcmsr_attr.c
drivers/scsi/arcmsr/arcmsr_hba.c