lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 29 Mar 2014 23:17:19 +0530
From:	Rashika Kheria <>
Cc:	Anil Gurumurthy <>,
	Vijaya Mohan Guvva <>,
	"James E.J. Bottomley" <>,,
Subject: [PATCH 05/55] scsi: Mark function as static in bfa/bfa_ioc.c

Mark functions as static in bfa/bfa_ioc.c because they are not used
outside this file.

This eliminates the following warning in bfa/bfa_ioc.c:
drivers/scsi/bfa/bfa_ioc.c:5039:1: warning: no previous prototype for ‘bfa_diag_intr’ [-Wmissing-prototypes]
drivers/scsi/bfa/bfa_ioc.c:7002:1: warning: no previous prototype for ‘bfa_flash_sem_get’ [-Wmissing-prototypes]
drivers/scsi/bfa/bfa_ioc.c:7015:1: warning: no previous prototype for ‘bfa_flash_sem_put’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <>
Reviewed-by: Josh Triplett <>
 drivers/scsi/bfa/bfa_ioc.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/bfa/bfa_ioc.c b/drivers/scsi/bfa/bfa_ioc.c
index 65180e1..d9bed12 100644
--- a/drivers/scsi/bfa/bfa_ioc.c
+++ b/drivers/scsi/bfa/bfa_ioc.c
@@ -5035,7 +5035,7 @@ diag_portbeacon_comp(struct bfa_diag_s *diag)
  *	Diag hmbox handler
+static void
 bfa_diag_intr(void *diagarg, struct bfi_mbmsg_s *msg)
 	struct bfa_diag_s *diag = diagarg;
@@ -6998,7 +6998,7 @@ bfa_raw_sem_get(void __iomem *bar)
+static bfa_status_t
 bfa_flash_sem_get(void __iomem *bar)
@@ -7011,7 +7011,7 @@ bfa_flash_sem_get(void __iomem *bar)
 	return BFA_STATUS_OK;
+static void
 bfa_flash_sem_put(void __iomem *bar)
 	writel(0, (bar + FLASH_SEM_LOCK_REG));

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists