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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201102085330.GA17314@d07872ef61d7>
Date:   Mon, 2 Nov 2020 16:53:30 +0800
From:   kernel test robot <lkp@...el.com>
To:     Lars Povlsen <lars.povlsen@...rochip.com>,
        Linus Walleij <linus.walleij@...aro.org>
Cc:     kbuild-all@...ts.01.org, Lars Povlsen <lars.povlsen@...rochip.com>,
        Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
        devicetree@...r.kernel.org, linux-gpio@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Alexandre Belloni <alexandre.belloni@...tlin.com>,
        Andy Shevchenko <andy.shevchenko@...il.com>
Subject: [RFC PATCH] pinctrl: pinctrl-microchip-sgpio: properties_luton can
 be static


Signed-off-by: kernel test robot <lkp@...el.com>
---
 pinctrl-microchip-sgpio.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-microchip-sgpio.c b/drivers/pinctrl/pinctrl-microchip-sgpio.c
index 1a9c01e2ad99f6..439779bc6e4e0b 100644
--- a/drivers/pinctrl/pinctrl-microchip-sgpio.c
+++ b/drivers/pinctrl/pinctrl-microchip-sgpio.c
@@ -58,7 +58,7 @@ struct sgpio_properties {
 #define SGPIO_F_PORT_CFG_BIT_SOURCE(p, x) __BF_PREP((p)->properties->bit_source, x)
 #define SGPIO_X_PORT_CFG_BIT_SOURCE(p, x) __BF_GET((p)->properties->bit_source, x)
 
-const struct sgpio_properties properties_luton = {
+static const struct sgpio_properties properties_luton = {
 	.regoff = { 0x00, 0x09, 0x29, 0x2a, 0x2b },
 	.auto_repeat = BIT(5),
 	.port_width  = GENMASK(3, 2),
@@ -66,7 +66,7 @@ const struct sgpio_properties properties_luton = {
 	.bit_source  = GENMASK(11, 0),
 };
 
-const struct sgpio_properties properties_ocelot = {
+static const struct sgpio_properties properties_ocelot = {
 	.regoff = { 0x00, 0x06, 0x26, 0x04, 0x05 },
 	.auto_repeat = BIT(10),
 	.port_width  = GENMASK(8, 7),
@@ -74,7 +74,7 @@ const struct sgpio_properties properties_ocelot = {
 	.bit_source  = GENMASK(23, 12),
 };
 
-const struct sgpio_properties properties_sparx5 = {
+static const struct sgpio_properties properties_sparx5 = {
 	.regoff = { 0x00, 0x06, 0x26, 0x04, 0x05 },
 	.auto_repeat = BIT(6),
 	.port_width  = GENMASK(4, 3),

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ