aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-06 10:20:56 -0600
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-06 10:20:56 -0600
commit286fc8f8ea7ef58b54f150fc900ce019af483e89 (patch)
tree6439b4ad904b396c5d29516f650d83193499332e /drivers/scsi/lpfc/lpfc_init.c
parentb2e977ca364764dabb091c360f329868b7e3f29b (diff)
[SCSI] lpfc: minor syntax fixes
Stop gcc complaining about undefined variables Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 71d2c8d3b00..a2e15436730 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -948,10 +948,12 @@ lpfc_get_hba_model_desc(struct lpfc_hba * phba, uint8_t * mdp, uint8_t * descp)
"10-port ", "PCIe"};
break;
default:
+ m = (typeof(m)){ 0 };
break;
}
break;
default:
+ m = (typeof(m)){ 0 };
break;
}