| From: Ben Hutchings <ben@decadent.org.uk> |
| Date: Sat, 27 Oct 2018 06:45:38 +0100 |
| Subject: fnic: Fix misleading indentation |
| |
| Fix the compiler warning: |
| |
| drivers/scsi/fnic/fnic_fcs.c:104:6: warning: this 'else' clause does not guard... |
| |
| This was done upstream as part of commit 86001f248e94 "fnic: assign |
| FIP_ALL_FCF_MACS to fcoe_all_fcfs". |
| |
| Signed-off-by: Ben Hutchings <ben@decadent.org.uk> |
| --- |
| --- a/drivers/scsi/fnic/fnic_fcs.c |
| +++ b/drivers/scsi/fnic/fnic_fcs.c |
| @@ -101,13 +101,14 @@ void fnic_handle_link(struct work_struct |
| FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host, |
| "link up\n"); |
| fcoe_ctlr_link_up(&fnic->ctlr); |
| - } else |
| + } else { |
| /* UP -> UP */ |
| spin_unlock_irqrestore(&fnic->fnic_lock, flags); |
| fnic_fc_trace_set_data( |
| fnic->lport->host->host_no, FNIC_FC_LE, |
| "Link Status: UP_UP", |
| strlen("Link Status: UP_UP")); |
| + } |
| } |
| } else if (fnic->link_status) { |
| /* DOWN -> UP */ |