* Re: linux-next: Tree for Aug 3 (watchdog/menz69_wdt.c) [not found] <20180803192942.6975df0c@canb.auug.org.au> @ 2018-08-03 15:39 ` Randy Dunlap 2018-08-03 16:40 ` Johannes Thumshirn 0 siblings, 1 reply; 3+ messages in thread From: Randy Dunlap @ 2018-08-03 15:39 UTC (permalink / raw) To: Stephen Rothwell, Linux-Next Mailing List Cc: Linux Kernel Mailing List, Johannes Thumshirn, linux-watchdog On 08/03/2018 02:29 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20180802: > Hi, On i386 randconfig with COMPILE_TEST=y and MCB not enabled, I see: drivers/watchdog/menz69_wdt.o: In function `men_z069_remove': menz69_wdt.c:(.text+0xa6): undefined reference to `mcb_release_mem' drivers/watchdog/menz69_wdt.o: In function `men_z069_probe': menz69_wdt.c:(.text+0xdb): undefined reference to `mcb_request_mem' menz69_wdt.c:(.text+0x14a): undefined reference to `mcb_release_mem' drivers/watchdog/menz69_wdt.o: In function `men_z069_driver_init': menz69_wdt.c:(.init.text+0x15): undefined reference to `__mcb_register_driver' drivers/watchdog/menz69_wdt.o: In function `men_z069_driver_exit': menz69_wdt.c:(.exit.text+0x9): undefined reference to `mcb_unregister_driver' The Kconfig for MENZ069_WATCHDOG says: config MENZ069_WATCHDOG tristate "MEN 16Z069 Watchdog" depends on MCB || COMPILE_TEST select WATCHDOG_CORE Looks to me like the driver really depends on MCB, unless someone wants to add stubs in <linux/mcb.h>. -- ~Randy ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: Tree for Aug 3 (watchdog/menz69_wdt.c) 2018-08-03 15:39 ` linux-next: Tree for Aug 3 (watchdog/menz69_wdt.c) Randy Dunlap @ 2018-08-03 16:40 ` Johannes Thumshirn 2018-08-06 15:14 ` Wim Van Sebroeck 0 siblings, 1 reply; 3+ messages in thread From: Johannes Thumshirn @ 2018-08-03 16:40 UTC (permalink / raw) To: Randy Dunlap, Wim Van Sebroeck Cc: Stephen Rothwell, Linux-Next Mailing List, Linux Kernel Mailing List, linux-watchdog On Fri, Aug 03, 2018 at 08:39:48AM -0700, Randy Dunlap wrote: > On 08/03/2018 02:29 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20180802: > > > > Hi, > > On i386 randconfig with COMPILE_TEST=y and MCB not enabled, I see: > > drivers/watchdog/menz69_wdt.o: In function `men_z069_remove': > menz69_wdt.c:(.text+0xa6): undefined reference to `mcb_release_mem' > drivers/watchdog/menz69_wdt.o: In function `men_z069_probe': > menz69_wdt.c:(.text+0xdb): undefined reference to `mcb_request_mem' > menz69_wdt.c:(.text+0x14a): undefined reference to `mcb_release_mem' > drivers/watchdog/menz69_wdt.o: In function `men_z069_driver_init': > menz69_wdt.c:(.init.text+0x15): undefined reference to `__mcb_register_driver' > drivers/watchdog/menz69_wdt.o: In function `men_z069_driver_exit': > menz69_wdt.c:(.exit.text+0x9): undefined reference to `mcb_unregister_driver' > > > The Kconfig for MENZ069_WATCHDOG says: > config MENZ069_WATCHDOG > tristate "MEN 16Z069 Watchdog" > depends on MCB || COMPILE_TEST > select WATCHDOG_CORE > > Looks to me like the driver really depends on MCB, unless someone wants > to add stubs in <linux/mcb.h>. *doh* looks like a copy & paste error. Wim can you fold that one in (or stage to your tree)? >From ae045015849cd15fd180e20f44d364e7a37c39c6 Mon Sep 17 00:00:00 2001 From: Johannes Thumshirn <jthumshirn@suse.de> Date: Fri, 3 Aug 2018 18:35:17 +0200 Subject: [PATCH] watchdog: fix dependencies of menz69_wdt.o Currently menz69_wdt.ko has a dependency on MCB or COMPILE_TEST. But it actually needs symbols exported by MCB so the || COMPILE_TEST is wrong. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Reported-by: Randy Dunlap <rdunlap@infradead.org> --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index df55d65bbb1c..5ea8909a41f9 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -163,7 +163,7 @@ config MENF21BMC_WATCHDOG config MENZ069_WATCHDOG tristate "MEN 16Z069 Watchdog" - depends on MCB || COMPILE_TEST + depends on MCB select WATCHDOG_CORE help Say Y here to include support for the MEN 16Z069 Watchdog. -- 2.16.4 -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: linux-next: Tree for Aug 3 (watchdog/menz69_wdt.c) 2018-08-03 16:40 ` Johannes Thumshirn @ 2018-08-06 15:14 ` Wim Van Sebroeck 0 siblings, 0 replies; 3+ messages in thread From: Wim Van Sebroeck @ 2018-08-06 15:14 UTC (permalink / raw) To: Johannes Thumshirn Cc: Randy Dunlap, Wim Van Sebroeck, Stephen Rothwell, Linux-Next Mailing List, Linux Kernel Mailing List, linux-watchdog Hi Johannes, > On Fri, Aug 03, 2018 at 08:39:48AM -0700, Randy Dunlap wrote: > > On 08/03/2018 02:29 AM, Stephen Rothwell wrote: > > > Hi all, > > > > > > Changes since 20180802: > > > > > > > Hi, > > > > On i386 randconfig with COMPILE_TEST=y and MCB not enabled, I see: > > > > drivers/watchdog/menz69_wdt.o: In function `men_z069_remove': > > menz69_wdt.c:(.text+0xa6): undefined reference to `mcb_release_mem' > > drivers/watchdog/menz69_wdt.o: In function `men_z069_probe': > > menz69_wdt.c:(.text+0xdb): undefined reference to `mcb_request_mem' > > menz69_wdt.c:(.text+0x14a): undefined reference to `mcb_release_mem' > > drivers/watchdog/menz69_wdt.o: In function `men_z069_driver_init': > > menz69_wdt.c:(.init.text+0x15): undefined reference to `__mcb_register_driver' > > drivers/watchdog/menz69_wdt.o: In function `men_z069_driver_exit': > > menz69_wdt.c:(.exit.text+0x9): undefined reference to `mcb_unregister_driver' > > > > > > The Kconfig for MENZ069_WATCHDOG says: > > config MENZ069_WATCHDOG > > tristate "MEN 16Z069 Watchdog" > > depends on MCB || COMPILE_TEST > > select WATCHDOG_CORE > > > > Looks to me like the driver really depends on MCB, unless someone wants > > to add stubs in <linux/mcb.h>. > > *doh* looks like a copy & paste error. Wim can you fold that one in > (or stage to your tree)? Added in my tree. Kind regards, Wim. > >From ae045015849cd15fd180e20f44d364e7a37c39c6 Mon Sep 17 00:00:00 2001 > From: Johannes Thumshirn <jthumshirn@suse.de> > Date: Fri, 3 Aug 2018 18:35:17 +0200 > Subject: [PATCH] watchdog: fix dependencies of menz69_wdt.o > > Currently menz69_wdt.ko has a dependency on MCB or COMPILE_TEST. But > it actually needs symbols exported by MCB so the || COMPILE_TEST is > wrong. > > Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> > Reported-by: Randy Dunlap <rdunlap@infradead.org> > --- > drivers/watchdog/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig > index df55d65bbb1c..5ea8909a41f9 100644 > --- a/drivers/watchdog/Kconfig > +++ b/drivers/watchdog/Kconfig > @@ -163,7 +163,7 @@ config MENF21BMC_WATCHDOG > > config MENZ069_WATCHDOG > tristate "MEN 16Z069 Watchdog" > - depends on MCB || COMPILE_TEST > + depends on MCB > select WATCHDOG_CORE > help > Say Y here to include support for the MEN 16Z069 Watchdog. > -- > 2.16.4 > > > > -- > Johannes Thumshirn Storage > jthumshirn@suse.de +49 911 74053 689 > SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg > GF: Felix Imendörffer, Jane Smithard, Graham Norton > HRB 21284 (AG Nürnberg) > Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-08-06 17:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20180803192942.6975df0c@canb.auug.org.au> 2018-08-03 15:39 ` linux-next: Tree for Aug 3 (watchdog/menz69_wdt.c) Randy Dunlap 2018-08-03 16:40 ` Johannes Thumshirn 2018-08-06 15:14 ` Wim Van Sebroeck
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).