Messages in this thread | | | From | Arnd Bergmann <> | Date | Tue, 2 Aug 2022 10:09:55 +0200 | Subject | Re: [PATCH] watchdog: sa1100: make variable sa1100dog_driver static |
| |
On Tue, Aug 2, 2022 at 4:08 AM sunliming <sunliming@kylinos.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@intel.com> > Signed-off-by: sunliming <sunliming@kylinos.cn>
Acked-by: Arnd Bergmann <arnd@arndb.de>
| |