• Lee Jones's avatar
    scsi: bfa: Staticify non-external functions · 00025fc7
    Lee Jones authored
    Fixes the following W=1 kernel build warning(s):
    
     drivers/scsi/bfa/bfa_ioc.c:5023:1: warning: no previous prototype for ‘bfa_diag_intr’ [-Wmissing-prototypes]
     5023 | bfa_diag_intr(void *diagarg, struct bfi_mbmsg_s *msg)
     | ^~~~~~~~~~~~~
     drivers/scsi/bfa/bfa_ioc.c:6966:1: warning: no previous prototype for ‘bfa_flash_sem_get’ [-Wmissing-prototypes]
     6966 | bfa_flash_sem_get(void __iomem *bar)
     | ^~~~~~~~~~~~~~~~~
     drivers/scsi/bfa/bfa_ioc.c:6979:1: warning: no previous prototype for ‘bfa_flash_sem_put’ [-Wmissing-prototypes]
     6979 | bfa_flash_sem_put(void __iomem *bar)
     | ^~~~~~~~~~~~~~~~~
    
    Link: https://lore.kernel.org/r/20200723122446.1329773-24-lee.jones@linaro.org
    
    
    Cc: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
    Cc: Sudarsana Kalluru <sudarsana.kalluru@qlogic.com>
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    00025fc7
bfa_ioc.c 160 KB