scsi: qla2xxx: make msix_entries const
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Mon, 26 Dec 2016 13:23:10 +0000 (14:23 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Jan 2017 04:20:32 +0000 (23:20 -0500)
commit44a8f954449c604b7b0a73a0316a8c4ed3487784
tree5ab48d62194249647ae8b7c7d7fc9d8c2e1f6f6d
parente2e8f619adaaa1b31c3739640beb0bd72ac87f4d
scsi: qla2xxx: make msix_entries const

msix_entries and qla82xx_msix_entries arrays are never modified in
drivers/scsi/qla2xxx/qla_isr.c. Move their contents to read-only data.

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_isr.c