From: Guenter Roeck <linux@roeck-us.net>
To: Lars Poeschel <poeschel@lemonage.de>
Cc: Wim Van Sebroeck <wim@iguana.be>,
"linux-watchdog@vger.kernel.org" <linux-watchdog@vger.kernel.org>
Subject: Re: [next:master 13253/13461] drivers/watchdog/omap_wdt.c:288:18: error: 'omap_wdt' undeclared
Date: Mon, 29 Jun 2015 01:18:31 -0700 [thread overview]
Message-ID: <5590FF57.9050401@roeck-us.net> (raw)
In-Reply-To: <201506291320.FgKUqYd7%fengguang.wu@intel.com>
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
next parent reply other threads:[~2015-06-29 8:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201506291320.FgKUqYd7%fengguang.wu@intel.com>
2015-06-29 8:18 ` Guenter Roeck [this message]
2015-06-29 9:48 ` [next:master 13253/13461] drivers/watchdog/omap_wdt.c:288:18: error: 'omap_wdt' undeclared Wim Van Sebroeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5590FF57.9050401@roeck-us.net \
--to=linux@roeck-us.net \
--cc=linux-watchdog@vger.kernel.org \
--cc=poeschel@lemonage.de \
--cc=wim@iguana.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.