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:18:22 +0530
From:	Rashika Kheria <>
Cc:	Anil Gurumurthy <>,
	Vijaya Mohan Guvva <>,
	"James E.J. Bottomley" <>,,
Subject: [PATCH 06/55] scsi: Mark function as static in bfa/bfa_ioc_ct.c

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

This eliminates the following warnings in bfa/bfa_ioc_ct.c:
drivers/scsi/bfa/bfa_ioc_ct.c:375:1: warning: no previous prototype for ‘bfa_ioc_ct2_lpu_read_stat’ [-Wmissing-prototypes]
drivers/scsi/bfa/bfa_ioc_ct.c:755:1: warning: no previous prototype for ‘bfa_ioc_ct2_mac_reset’ [-Wmissing-prototypes]

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

diff --git a/drivers/scsi/bfa/bfa_ioc_ct.c b/drivers/scsi/bfa/bfa_ioc_ct.c
index bd53150..746c250 100644
--- a/drivers/scsi/bfa/bfa_ioc_ct.c
+++ b/drivers/scsi/bfa/bfa_ioc_ct.c
@@ -371,7 +371,7 @@ bfa_ioc_ct_isr_mode_set(struct bfa_ioc_s *ioc, bfa_boolean_t msix)
 	writel(r32, rb + FNC_PERS_REG);
+static bfa_boolean_t
 bfa_ioc_ct2_lpu_read_stat(struct bfa_ioc_s *ioc)
 	u32	r32;
@@ -751,7 +751,7 @@ bfa_ioc_ct2_mem_init(void __iomem *rb)
 	writel(0, (rb + CT2_MBIST_CTL_REG));
+static void
 bfa_ioc_ct2_mac_reset(void __iomem *rb)
 	/* put port0, port1 MAC & AHB in reset */

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