aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_ioc.h
diff options
context:
space:
mode:
authorMaggie <xmzhang@brocade.com>2010-11-29 21:21:32 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-12-21 13:24:16 -0500
commit52f94b6fd0d1ff9d935c52f8a6360834ed871d92 (patch)
tree09a71f556a01fa71f37aacdc1da37bf60131f0d6 /drivers/scsi/bfa/bfa_ioc.h
parent3db86353abba4549f665fbdde8572d619566afbb (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/bfa_ioc.h')
-rw-r--r--drivers/scsi/bfa/bfa_ioc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfa_ioc.h b/drivers/scsi/bfa/bfa_ioc.h
index 9c407a87a1a1..eb1b005e5bc7 100644
--- a/drivers/scsi/bfa/bfa_ioc.h
+++ b/drivers/scsi/bfa/bfa_ioc.h
@@ -421,7 +421,7 @@ bfa_cb_image_get_chunk(int type, u32 off)
421 return bfi_image_ct_cna_get_chunk(off); break; 421 return bfi_image_ct_cna_get_chunk(off); break;
422 case BFI_IMAGE_CB_FC: 422 case BFI_IMAGE_CB_FC:
423 return bfi_image_cb_fc_get_chunk(off); break; 423 return bfi_image_cb_fc_get_chunk(off); break;
424 default: return 0; 424 default: return NULL;
425 } 425 }
426} 426}
427 427