lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151019204626.GA42156@athens>
Date:	Tue, 20 Oct 2015 04:46:26 +0800
From:	kbuild test robot <lkp@...el.com>
To:	WingMan Kwok <w-kwok2@...com>
Cc:	kbuild-all@...org, robh+dt@...nel.org, pawel.moll@....com,
	mark.rutland@....com, ijc+devicetree@...lion.org.uk,
	galak@...eaurora.org, kishon@...com, rogerq@...com,
	m-karicheri2@...com, bhelgaas@...gle.com, ssantosh@...nel.org,
	linux@....linux.org.uk, devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org, WingMan Kwok <w-kwok2@...com>
Subject: [RFC PATCH] phy: keystone: ks2_gbe_serdes_firmwares[] can be static


Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
 phy-keystone-serdes.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/phy/phy-keystone-serdes.c b/drivers/phy/phy-keystone-serdes.c
index ee1cda7..e34201c 100644
--- a/drivers/phy/phy-keystone-serdes.c
+++ b/drivers/phy/phy-keystone-serdes.c
@@ -209,9 +209,9 @@
  * Newest first. Search starts from the 0-th array entry until a firmware
  * file is found.
  */
-const char *ks2_gbe_serdes_firmwares[] = {"ks2_gbe_serdes.bin"};
-const char *ks2_xgbe_serdes_firmwares[] = {"ks2_xgbe_serdes.bin"};
-const char *ks2_pcie_serdes_firmwares[] = {"ks2_pcie_serdes.bin"};
+static const char *ks2_gbe_serdes_firmwares[] = {"ks2_gbe_serdes.bin"};
+static const char *ks2_xgbe_serdes_firmwares[] = {"ks2_xgbe_serdes.bin"};
+static const char *ks2_pcie_serdes_firmwares[] = {"ks2_pcie_serdes.bin"};
 
 /* SERDES Link Rate Kbps */
 enum KSERDES_LINK_RATE {
@@ -933,7 +933,7 @@ done:
 	return val;
 }
 
-int kserdes_get_status(struct kserdes_config *sc)
+static int kserdes_get_status(struct kserdes_config *sc)
 {
 	unsigned long timeout;
 
@@ -1568,7 +1568,7 @@ static void kserdes_att_boost_phy_patch(struct kserdes_config *sc)
 		for_each_lane(kserdes_att_boost_phyb_patch, sc);
 }
 
-int kserdes_sgmii_lanes_enable(struct kserdes_config *sc)
+static int kserdes_sgmii_lanes_enable(struct kserdes_config *sc)
 {
 	int ret, i;
 	u32 val, lanes_enable = 0;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ