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: <20200630024310.GA23779@89284d6ea506>
Date:   Tue, 30 Jun 2020 10:43:10 +0800
From:   kernel test robot <lkp@...el.com>
To:     alexandru.tachici@...log.com, linux-hwmon@...r.kernel.org,
        linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, robh+dt@...nel.org, linux@...ck-us.net,
        Alexandru Tachici <alexandru.tachici@...log.com>
Subject: [RFC PATCH] hwmon: pmbus: adm1266: pmbus_block_xfer() can be static


Signed-off-by: kernel test robot <lkp@...el.com>
---
 adm1266.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/hwmon/pmbus/adm1266.c b/drivers/hwmon/pmbus/adm1266.c
index 381d89a8569f2..1aa3f0a738151 100644
--- a/drivers/hwmon/pmbus/adm1266.c
+++ b/drivers/hwmon/pmbus/adm1266.c
@@ -24,8 +24,8 @@ DECLARE_CRC8_TABLE(pmbus_crc_table);
  * followed by a Read Block without the Read-Block command field and the
  * Write-Block STOP bit.
  */
-int pmbus_block_xfer(struct i2c_client *client, u8 cmd, u8 w_len,
-		     u8 *data_w, u8 *data_r)
+static int pmbus_block_xfer(struct i2c_client *client, u8 cmd, u8 w_len,
+			    u8 *data_w, u8 *data_r)
 {
 	u8 write_buf[ADM1266_PMBUS_BLOCK_MAX + 2];
 	struct i2c_msg msgs[2] = {

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ