[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a0B7eAuTZx-ynoKHo2O49kPxwD5bXoS3G5utRriuH3Dcw@mail.gmail.com>
Date: Tue, 2 Aug 2022 10:09:55 +0200
From: Arnd Bergmann <arnd@...db.de>
To: sunliming <sunliming@...inos.cn>
Cc: Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Arnd Bergmann <arnd@...db.de>,
LINUXWATCHDOG <linux-watchdog@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
kelulanainsley@...il.com, kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] watchdog: sa1100: make variable sa1100dog_driver static
On Tue, Aug 2, 2022 at 4:08 AM sunliming <sunliming@...inos.cn> wrote:
>
> This symbol is not used outside of sa1100_wdt.c, so marks it static.
>
> Fixes the following warning:
>
> >> drivers/watchdog/sa1100_wdt.c:241:24: sparse: sparse: symbol 'sa1100dog_driver'
> was not declared. Should it be static?
>
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: sunliming <sunliming@...inos.cn>
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists