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: <20200926191618.GA12056@2adff5953e79>
Date:   Sun, 27 Sep 2020 03:16:18 +0800
From:   kernel test robot <lkp@...el.com>
To:     Luka Kovacic <luka.kovacic@...tura.hr>,
        linux-kernel@...r.kernel.org, linux-hwmon@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, linux-leds@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, lee.jones@...aro.org, pavel@....cz,
        dmurphy@...com, robh+dt@...nel.org, jdelvare@...e.com,
        linux@...ck-us.net
Subject: [RFC PATCH] drivers: mfd: iei_wt61p803_puzzle_checksum() can be
 static


Signed-off-by: kernel test robot <lkp@...el.com>
---
 iei-wt61p803-puzzle.c |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/mfd/iei-wt61p803-puzzle.c b/drivers/mfd/iei-wt61p803-puzzle.c
index 5cba010ac9b963..f803222fc8e56f 100644
--- a/drivers/mfd/iei-wt61p803-puzzle.c
+++ b/drivers/mfd/iei-wt61p803-puzzle.c
@@ -118,7 +118,7 @@ struct iei_wt61p803_puzzle {
 	struct mutex lock;
 };
 
-unsigned char iei_wt61p803_puzzle_checksum(unsigned char *buf, size_t len)
+static unsigned char iei_wt61p803_puzzle_checksum(unsigned char *buf, size_t len)
 {
 	unsigned char checksum = 0;
 	unsigned int i;
@@ -302,7 +302,7 @@ int iei_wt61p803_puzzle_write_command(struct iei_wt61p803_puzzle *mcu,
 }
 EXPORT_SYMBOL_GPL(iei_wt61p803_puzzle_write_command);
 
-int iei_wt61p803_puzzle_buzzer(struct iei_wt61p803_puzzle *mcu, bool long_beep)
+static int iei_wt61p803_puzzle_buzzer(struct iei_wt61p803_puzzle *mcu, bool long_beep)
 {
 	unsigned char buzzer_short_cmd[4] = {
 		IEI_WT61P803_PUZZLE_CMD_HEADER_START,
@@ -341,7 +341,7 @@ int iei_wt61p803_puzzle_buzzer(struct iei_wt61p803_puzzle *mcu, bool long_beep)
 	return ret;
 }
 
-int iei_wt61p803_puzzle_get_version(struct iei_wt61p803_puzzle *mcu)
+static int iei_wt61p803_puzzle_get_version(struct iei_wt61p803_puzzle *mcu)
 {
 	struct device *dev = &mcu->serdev->dev;
 	unsigned char version_cmd[3] = {
@@ -420,7 +420,7 @@ int iei_wt61p803_puzzle_get_version(struct iei_wt61p803_puzzle *mcu)
 	return ret;
 }
 
-int iei_wt61p803_puzzle_get_mcu_status(struct iei_wt61p803_puzzle *mcu)
+static int iei_wt61p803_puzzle_get_mcu_status(struct iei_wt61p803_puzzle *mcu)
 {
 	unsigned char mcu_status_cmd[5] = {
 		IEI_WT61P803_PUZZLE_CMD_HEADER_START,
@@ -469,7 +469,7 @@ int iei_wt61p803_puzzle_get_mcu_status(struct iei_wt61p803_puzzle *mcu)
 	return ret;
 }
 
-int iei_wt61p803_puzzle_get_serial_number(struct iei_wt61p803_puzzle *mcu)
+static int iei_wt61p803_puzzle_get_serial_number(struct iei_wt61p803_puzzle *mcu)
 {
 	struct device *dev = &mcu->serdev->dev;
 	unsigned char serial_number_cmd[5] = {
@@ -496,7 +496,7 @@ int iei_wt61p803_puzzle_get_serial_number(struct iei_wt61p803_puzzle *mcu)
 
 }
 
-int iei_wt61p803_puzzle_write_serial_number(struct iei_wt61p803_puzzle *mcu,
+static int iei_wt61p803_puzzle_write_serial_number(struct iei_wt61p803_puzzle *mcu,
 		unsigned char serial_number[36])
 {
 	struct device *dev = &mcu->serdev->dev;
@@ -544,7 +544,7 @@ int iei_wt61p803_puzzle_write_serial_number(struct iei_wt61p803_puzzle *mcu,
 	return ret;
 }
 
-int iei_wt61p803_puzzle_get_mac_addresses(struct iei_wt61p803_puzzle *mcu)
+static int iei_wt61p803_puzzle_get_mac_addresses(struct iei_wt61p803_puzzle *mcu)
 {
 	struct device *dev = &mcu->serdev->dev;
 	unsigned char mac_address_cmd[5] = {
@@ -581,7 +581,7 @@ int iei_wt61p803_puzzle_get_mac_addresses(struct iei_wt61p803_puzzle *mcu)
 	return ret;
 }
 
-int iei_wt61p803_puzzle_write_mac_address(struct iei_wt61p803_puzzle *mcu,
+static int iei_wt61p803_puzzle_write_mac_address(struct iei_wt61p803_puzzle *mcu,
 		unsigned char mac_address[17], int mac_address_idx)
 {
 	struct device *dev = &mcu->serdev->dev;
@@ -630,7 +630,7 @@ int iei_wt61p803_puzzle_write_mac_address(struct iei_wt61p803_puzzle *mcu,
 	return ret;
 }
 
-int iei_wt61p803_puzzle_write_power_loss_recovery(struct iei_wt61p803_puzzle *mcu,
+static int iei_wt61p803_puzzle_write_power_loss_recovery(struct iei_wt61p803_puzzle *mcu,
 		int power_loss_recovery_action)
 {
 	unsigned char power_loss_recovery_cmd[5] = {

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ