All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [hwmon:watchdog-next 25/25] drivers/watchdog/txx9wdt.c:134:20: error: 'pdev' undecl
Date: Thu, 27 Aug 2015 09:51:42 +0000	[thread overview]
Message-ID: <55DEDDAE.9050105@roeck-us.net> (raw)
In-Reply-To: <201508190641.YilMpD2S%fengguang.wu@intel.com>

On 08/27/2015 12:33 AM, Jean Delvare wrote:
> On Wed, 19 Aug 2015 06:03:43 +0800, kbuild test robot wrote:
>> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git watchdog-next
>> head:   8f5555c0f5a355e5f45944d9517e983a1146fe4a
>> commit: 8f5555c0f5a355e5f45944d9517e983a1146fe4a [25/25] Watchdog: Fix parent of watchdog_devices
>> config: mips-jmr3927_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 8f5555c0f5a355e5f45944d9517e983a1146fe4a
>>    # save the attached .config to linux build tree
>>    make.cross ARCH=mips
>>
>> All error/warnings (new ones prefixed by >>):
>>
>>     drivers/watchdog/txx9wdt.c: In function 'txx9wdt_probe':
>>>> drivers/watchdog/txx9wdt.c:134:20: error: 'pdev' undeclared (first use in this function)
>>       txx9wdt.parent = &pdev->dev;
>>                         ^
>>     drivers/watchdog/txx9wdt.c:134:20: note: each undeclared identifier is reported only once for each function it appears in
>>
>> vim +/pdev +134 drivers/watchdog/txx9wdt.c
>>
>>     128	
>>     129		if (timeout < 1 || timeout > WD_MAX_TIMEOUT)
>>     130			timeout = TIMER_MARGIN;
>>     131		txx9wdt.timeout = timeout;
>>     132		txx9wdt.min_timeout = 1;
>>     133		txx9wdt.max_timeout = WD_MAX_TIMEOUT;
>>   > 134		txx9wdt.parent = &pdev->dev;
>>     135		watchdog_set_nowayout(&txx9wdt, nowayout);
>>     136	
>>     137		ret = watchdog_register_device(&txx9wdt);
>
> You are sending this to the wrong mailing list, lm-sensors has nothing
> to do with watchdog drivers.
>

This is because every branch in my repo is tested. Sorry for the noise/nuisance.
Should I ask for list copies to be dropped ? Might be better, since hwmon
isn't the only subsystem I am involved in, branches may change and are not
always associated with hwmon.

Guenter


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2015-08-27  9:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18 22:03 [lm-sensors] [hwmon:watchdog-next 25/25] drivers/watchdog/txx9wdt.c:134:20: error: 'pdev' undeclared kbuild test robot
2015-08-27  7:33 ` [lm-sensors] [hwmon:watchdog-next 25/25] drivers/watchdog/txx9wdt.c:134:20: error: 'pdev' undecl Jean Delvare
2015-08-27  8:24 ` Fengguang Wu
2015-08-27  9:51 ` Guenter Roeck [this message]
2015-08-28  7:35 ` Jean Delvare

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=55DEDDAE.9050105@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=lm-sensors@vger.kernel.org \
    /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.