Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: bfa: Staticify local functions

These calls are not invoked externally.

Fixes the following W=1 kernel build warning(s):

drivers/scsi/bfa/bfa_port.c:760:1: warning: no previous prototype for ‘bfa_cee_isr’ [-Wmissing-prototypes]
760 | bfa_cee_isr(void *cbarg, struct bfi_mbmsg_s *m)
| ^~~~~~~~~~~
drivers/scsi/bfa/bfa_port.c:796:1: warning: no previous prototype for ‘bfa_cee_notify’ [-Wmissing-prototypes]
796 | bfa_cee_notify(void *arg, enum bfa_ioc_event_e event)
| ^~~~~~~~~~~~~~

Link: https://lore.kernel.org/r/20200723122446.1329773-8-lee.jones@linaro.org
Cc: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Cc: Sudarsana Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Lee Jones and committed by
Martin K. Petersen
0aaaa04a b44cc4a4

+2 -2
+2 -2
drivers/scsi/bfa/bfa_port.c
··· 756 756 * @return void 757 757 */ 758 758 759 - void 759 + static void 760 760 bfa_cee_isr(void *cbarg, struct bfi_mbmsg_s *m) 761 761 { 762 762 union bfi_cee_i2h_msg_u *msg; ··· 792 792 * @return void 793 793 */ 794 794 795 - void 795 + static void 796 796 bfa_cee_notify(void *arg, enum bfa_ioc_event_e event) 797 797 { 798 798 struct bfa_cee_s *cee = (struct bfa_cee_s *) arg;