]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
w1: w1_therm: make w1_poll_completion static
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Oct 2020 12:37:03 +0000 (14:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Oct 2020 12:49:24 +0000 (14:49 +0200)
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>
Link: https://lore.kernel.org/r/20201005123703.GA800532@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_therm.c

index e4baaf92f0748aa48dfb953e65001094cca19803..cddf60b7309cafc8ddbd767712ad4a201d470a9a 100644 (file)
@@ -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;