scsi: qla2xxx: Further limit FLASH region write access from SysFS
authorAndrew Vasquez <andrewv@marvell.com>
Tue, 2 Apr 2019 21:24:26 +0000 (14:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Apr 2019 03:45:58 +0000 (23:45 -0400)
commite81d1bcbde06ad2b6413b1d75630a1a8c19175d0
tree67a1c57d59322d0469bc232b8aa8d5d4158325a8
parent5cbdae10bf11f96e30b4d14de7b08c8b490e903c
scsi: qla2xxx: Further limit FLASH region write access from SysFS

Recent ISPs have larger and more complex flash-write semantics
(secure-access and signing). The BSG interfaces support these semantics for
all ISPs and is exclusively used by QLogic user-space tools. Limit
flash-write operations to ISPs <= 25xx.

Signed-off-by: Andrew Vasquez <andrewv@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_attr.c