kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [thermal:thermal 5/13] drivers/power/power_supply_core.c:204:6: error: too many arguments to fun
Date: Wed, 01 Aug 2012 08:53:07 +0000	[thread overview]
Message-ID: <20120801085307.GA15699@localhost> (raw)
In-Reply-To: <20120801073612.GA11970@localhost>

On Wed, Aug 01, 2012 at 04:35:56PM +0800, Zhang, Rui wrote:
> in this case, should I create an incremental patch to fix the problem,
> or should I refresh my patch to cover that?

It's your tree, so all up to you :)

Thanks,
Fengguang

> 三, 2012-08-01 at 15:36 +0800, Fengguang Wu wrote:
> > Hi Zhang,
> > 
> > Kernel build failed on
> > 
> > tree:   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git thermal
> > head:   77fd40968a98055d5e910461be9a8c7a8be63251
> > commit: 230c4d13a49b0faed79f1273d0f43121fa993ff5 [5/13] Thermal: Remove tc1/tc2 in generic thermal layer.
> > config: x86_64-randconfig-h021 (attached as .config)
> > 
> > All related error/warning messages:
> > 
> > drivers/power/power_supply_core.c: In function 'psy_register_thermal':
> > drivers/power/power_supply_core.c:204:6: error: too many arguments to function 'thermal_zone_device_register'
> > In file included from drivers/power/power_supply_core.c:20:0:
> > include/linux/thermal.h:163:29: note: declared here
> > 
> > vim +204 drivers/power/power_supply_core.c
> >    201		for (i = 0; i < psy->num_properties; i++) {
> >    202			if (psy->properties[i] = POWER_SUPPLY_PROP_TEMP) {
> >    203				psy->tzd = thermal_zone_device_register(psy->name, 0, 0,
> >  > 204						psy, &psy_tzd_ops, 0, 0, 0, 0);
> >    205				if (IS_ERR(psy->tzd))
> >    206					return PTR_ERR(psy->tzd);
> >    207				break;
> > 
> > ---
> > 0-DAY kernel build testing backend         Open Source Technology Centre
> > Fengguang Wu <wfg@linux.intel.com>                     Intel Corporation
> 
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-08-01  8:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01  7:36 [thermal:thermal 5/13] drivers/power/power_supply_core.c:204:6: error: too many arguments to functio Fengguang Wu
2012-08-01  8:34 ` [thermal:thermal 5/13] drivers/power/power_supply_core.c:204:6: error: too many arguments to fun Zhang Rui
2012-08-01  8:35 ` Zhang Rui
2012-08-01  8:53 ` Fengguang Wu [this message]
2012-08-01  8:54 ` Zhang Rui

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=20120801085307.GA15699@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@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 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).