diff options
author | Maggie <xmzhang@brocade.com> | 2010-11-29 21:21:32 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-21 13:24:16 -0500 |
commit | 52f94b6fd0d1ff9d935c52f8a6360834ed871d92 (patch) | |
tree | 09a71f556a01fa71f37aacdc1da37bf60131f0d6 /drivers/scsi/bfa/bfad.c | |
parent | 3db86353abba4549f665fbdde8572d619566afbb (diff) |
[SCSI] bfa: fix regular sparse check warnings.
Fix all sparse check warnings from make C=2.
Signed-off-by: Maggie <xmzhang@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfad.c')
-rw-r--r-- | drivers/scsi/bfa/bfad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa/bfad.c index 6797720213b2..4239fdf0d2d1 100644 --- a/drivers/scsi/bfa/bfad.c +++ b/drivers/scsi/bfa/bfad.c | |||
@@ -61,12 +61,12 @@ int msix_disable_cb = 0, msix_disable_ct = 0; | |||
61 | u32 bfi_image_ct_fc_size, bfi_image_ct_cna_size, bfi_image_cb_fc_size; | 61 | u32 bfi_image_ct_fc_size, bfi_image_ct_cna_size, bfi_image_cb_fc_size; |
62 | u32 *bfi_image_ct_fc, *bfi_image_ct_cna, *bfi_image_cb_fc; | 62 | u32 *bfi_image_ct_fc, *bfi_image_ct_cna, *bfi_image_cb_fc; |
63 | 63 | ||
64 | const char *msix_name_ct[] = { | 64 | static const char *msix_name_ct[] = { |
65 | "cpe0", "cpe1", "cpe2", "cpe3", | 65 | "cpe0", "cpe1", "cpe2", "cpe3", |
66 | "rme0", "rme1", "rme2", "rme3", | 66 | "rme0", "rme1", "rme2", "rme3", |
67 | "ctrl" }; | 67 | "ctrl" }; |
68 | 68 | ||
69 | const char *msix_name_cb[] = { | 69 | static const char *msix_name_cb[] = { |
70 | "cpe0", "cpe1", "cpe2", "cpe3", | 70 | "cpe0", "cpe1", "cpe2", "cpe3", |
71 | "rme0", "rme1", "rme2", "rme3", | 71 | "rme0", "rme1", "rme2", "rme3", |
72 | "eemc", "elpu0", "elpu1", "epss", "mlpu" }; | 72 | "eemc", "elpu0", "elpu1", "epss", "mlpu" }; |