* [PATCH] w1: w1_therm: make w1_poll_completion static
@ 2020-10-05 12:37 Greg Kroah-Hartman
0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2020-10-05 12:37 UTC (permalink / raw)
To: Ivan Zaentsev; +Cc: linux-kernel, lkp
kernel test robot rightly points out that w1_poll_completion() should be
static, so mark it as such.
Cc: Ivan Zaentsev <ivan.zaentsev@wirenboard.ru>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
diff --git a/drivers/w1/slaves/w1_therm.c b/drivers/w1/slaves/w1_therm.c
index e4baaf92f074..cddf60b7309c 100644
--- a/drivers/w1/slaves/w1_therm.c
+++ b/drivers/w1/slaves/w1_therm.c
@@ -1031,7 +1031,7 @@ static int reset_select_slave(struct w1_slave *sl)
*
* Return: 0 - OK, negative error - timeout
*/
-int w1_poll_completion(struct w1_master *dev_master, int tout_ms)
+static int w1_poll_completion(struct w1_master *dev_master, int tout_ms)
{
int i;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-05 12:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-05 12:37 [PATCH] w1: w1_therm: make w1_poll_completion static Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox