* Re: [next:master 13253/13461] drivers/watchdog/omap_wdt.c:288:18: error: 'omap_wdt' undeclared
[not found] <201506291320.FgKUqYd7%fengguang.wu@intel.com>
@ 2015-06-29 8:18 ` Guenter Roeck
2015-06-29 9:48 ` Wim Van Sebroeck
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2015-06-29 8:18 UTC (permalink / raw)
To: Lars Poeschel; +Cc: Wim Van Sebroeck, linux-watchdog@vger.kernel.org
On 06/28/2015 10:18 PM, kbuild test robot wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: e3984319760987beee59b1d017416671ebb89b4c
> commit: 387ee4d26e5f530e8a6a850cc0a817fad6324686 [13253/13461] watchdog: omap_wdt: early_enable module parameter
> config: arm-omap2plus_defconfig (attached as .config)
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 387ee4d26e5f530e8a6a850cc0a817fad6324686
> # save the attached .config to linux build tree
> make.cross ARCH=arm
>
> All error/warnings (new ones prefixed by >>):
>
> drivers/watchdog/omap_wdt.c: In function 'omap_wdt_probe':
>>> drivers/watchdog/omap_wdt.c:288:18: error: 'omap_wdt' undeclared (first use in this function)
> omap_wdt_start(omap_wdt);
> ^
> drivers/watchdog/omap_wdt.c:288:18: note: each undeclared identifier is reported only once for each function it appears in
>
> vim +/omap_wdt +288 drivers/watchdog/omap_wdt.c
>
> 282 readl_relaxed(wdev->base + OMAP_WATCHDOG_REV) & 0xFF,
> 283 wdev->wdog.timeout);
> 284
> 285 pm_runtime_put_sync(wdev->dev);
> 286
> 287 if (early_enable)
> > 288 omap_wdt_start(omap_wdt);
> 289
> 290 return 0;
> 291 }
>
Commit 'watchdog: omap_wdt: early_enable module parameter' interfers with
'watchdog: omap: put struct watchdog_device into driver data'. Wonder why
my test build didn't catch this ... ah, I didn't push that commit into my
test repository. Oh well :-(.
Wim, do you want to fix it up in the commit, or should Lars send a patch
to fix it on top of -next ? Should be something like
- omap_wdt_start(omap_wdt);
+ omap_wdt_start(&wdev->wdog);
Thanks,
Guenter
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [next:master 13253/13461] drivers/watchdog/omap_wdt.c:288:18: error: 'omap_wdt' undeclared
2015-06-29 8:18 ` [next:master 13253/13461] drivers/watchdog/omap_wdt.c:288:18: error: 'omap_wdt' undeclared Guenter Roeck
@ 2015-06-29 9:48 ` Wim Van Sebroeck
0 siblings, 0 replies; 2+ messages in thread
From: Wim Van Sebroeck @ 2015-06-29 9:48 UTC (permalink / raw)
To: Guenter Roeck; +Cc: Lars Poeschel, linux-watchdog@vger.kernel.org
Hi Guenter,
we will fix the commit.
Kind regards,
Wim.
> On 06/28/2015 10:18 PM, kbuild test robot wrote:
> >tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> >master
> >head: e3984319760987beee59b1d017416671ebb89b4c
> >commit: 387ee4d26e5f530e8a6a850cc0a817fad6324686 [13253/13461] watchdog:
> >omap_wdt: early_enable module parameter
> >config: arm-omap2plus_defconfig (attached as .config)
> >reproduce:
> > wget
> > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > git checkout 387ee4d26e5f530e8a6a850cc0a817fad6324686
> > # save the attached .config to linux build tree
> > make.cross ARCH=arm
> >
> >All error/warnings (new ones prefixed by >>):
> >
> > drivers/watchdog/omap_wdt.c: In function 'omap_wdt_probe':
> >>>drivers/watchdog/omap_wdt.c:288:18: error: 'omap_wdt' undeclared (first
> >>>use in this function)
> > omap_wdt_start(omap_wdt);
> > ^
> > drivers/watchdog/omap_wdt.c:288:18: note: each undeclared identifier
> > is reported only once for each function it appears in
> >
> >vim +/omap_wdt +288 drivers/watchdog/omap_wdt.c
> >
> > 282 readl_relaxed(wdev->base +
> > OMAP_WATCHDOG_REV) & 0xFF,
> > 283 wdev->wdog.timeout);
> > 284
> > 285 pm_runtime_put_sync(wdev->dev);
> > 286
> > 287 if (early_enable)
> > > 288 omap_wdt_start(omap_wdt);
> > 289
> > 290 return 0;
> > 291 }
> >
>
> Commit 'watchdog: omap_wdt: early_enable module parameter' interfers with
> 'watchdog: omap: put struct watchdog_device into driver data'. Wonder why
> my test build didn't catch this ... ah, I didn't push that commit into my
> test repository. Oh well :-(.
>
> Wim, do you want to fix it up in the commit, or should Lars send a patch
> to fix it on top of -next ? Should be something like
>
> - omap_wdt_start(omap_wdt);
> + omap_wdt_start(&wdev->wdog);
>
> Thanks,
> Guenter
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-29 9:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201506291320.FgKUqYd7%fengguang.wu@intel.com>
2015-06-29 8:18 ` [next:master 13253/13461] drivers/watchdog/omap_wdt.c:288:18: error: 'omap_wdt' undeclared Guenter Roeck
2015-06-29 9:48 ` Wim Van Sebroeck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.