diff options
Diffstat (limited to 'drivers/scsi/bfa/ns.c')
-rw-r--r-- | drivers/scsi/bfa/ns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/ns.c b/drivers/scsi/bfa/ns.c index d20dd7e15742..2d6d2d6ff8dc 100644 --- a/drivers/scsi/bfa/ns.c +++ b/drivers/scsi/bfa/ns.c | |||
@@ -1228,10 +1228,10 @@ bfa_fcs_port_ns_boot_target_disc(struct bfa_fcs_port_s *port) | |||
1228 | 1228 | ||
1229 | struct bfa_fcs_rport_s *rport; | 1229 | struct bfa_fcs_rport_s *rport; |
1230 | u8 nwwns; | 1230 | u8 nwwns; |
1231 | wwn_t *wwns; | 1231 | wwn_t wwns[BFA_PREBOOT_BOOTLUN_MAX]; |
1232 | int ii; | 1232 | int ii; |
1233 | 1233 | ||
1234 | bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, &wwns); | 1234 | bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, wwns); |
1235 | 1235 | ||
1236 | for (ii = 0; ii < nwwns; ++ii) { | 1236 | for (ii = 0; ii < nwwns; ++ii) { |
1237 | rport = bfa_fcs_rport_create_by_wwn(port, wwns[ii]); | 1237 | rport = bfa_fcs_rport_create_by_wwn(port, wwns[ii]); |