summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorGleb Chesnokov <Chesnokov.G@raidix.com>2022-02-15 18:13:59 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2022-02-23 03:11:07 +0100
commit1f652aa0e469ecd870f01f2ab7cf01b4ab71d9b1 (patch)
treee9313ed45b7f827840c5313a888002be9d3955cf /drivers/target
parentscsi: qla2xxx: Use named initializers for port_[d]state_str (diff)
downloadlinux-1f652aa0e469ecd870f01f2ab7cf01b4ab71d9b1.tar.xz
linux-1f652aa0e469ecd870f01f2ab7cf01b4ab71d9b1.zip
scsi: qla2xxx: Use named initializers for q_dev_state
Make q_dev_state a little more readable and maintainable by using named initializers. Also convert QLA8XXX_DEV_* macros into an enum and remove qla83xx_dev_state_to_string(), which is a duplicate of qdev_state(). Link: https://lore.kernel.org/r/AS8PR10MB495298515A7553C8D6D6E74D9D349@AS8PR10MB4952.EURPRD10.PROD.OUTLOOK.COM Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Gleb Chesnokov <Chesnokov.G@raidix.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions