From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: kernel-janitors@vger.kernel.org
Subject: Re: [pm:linux-next 22/38] include/linux/pm_domain.h:252:2: error: too many arguments to function '__
Date: Thu, 09 Aug 2012 10:01:48 +0000 [thread overview]
Message-ID: <201208091201.48712.rjw@sisk.pl> (raw)
In-Reply-To: <20120809092312.GA3316@localhost>
Hi,
On Thursday, August 09, 2012, Fengguang Wu wrote:
> Hi Rafael,
>
> FYI, kernel build failed on
>
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
> head: 9ea3f7070730c4148694904a335825f7e4540604
> commit: 3fca1aaa84488678c2b57d9b35259bbd4efd86ca [22/38] PM / Domains: Make it possible to use domain names when adding devices
> config: sh-allnoconfig (attached as .config)
>
> All related error/warning messages:
>
> In file included from drivers/sh/pm_runtime.c:15:0:
> include/linux/pm_domain.h: In function 'pm_genpd_of_add_device':
> include/linux/pm_domain.h:252:2: error: too many arguments to function '__pm_genpd_of_add_device'
> include/linux/pm_domain.h:182:19: note: declared here
> include/linux/pm_domain.h: In function 'pm_genpd_name_add_device':
> include/linux/pm_domain.h:258:2: warning: passing argument 1 of '__pm_genpd_name_add_device' discards 'const' qualifier from pointer target type [enabled by default]
> include/linux/pm_domain.h:187:19: note: expected 'char *' but argument is of type 'const char *'
>
> vim +252 include/linux/pm_domain.h
> 249 static inline int pm_genpd_of_add_device(struct device_node *genpd_node,
> 250 struct device *dev)
> 251 {
> > 252 return __pm_genpd_of_add_device(genpd_node, dev, NULL);
> 253 }
> 254
> 255 static inline int pm_genpd_name_add_device(const char *domain_name,
>
That is due to CONFIG_PM_GENERIC_DOMAINS unset. Should be fixed now.
Thanks,
Rafael
prev parent reply other threads:[~2012-08-09 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-09 9:23 [pm:linux-next 22/38] include/linux/pm_domain.h:252:2: error: too many arguments to function '__pm_g Fengguang Wu
2012-08-09 10:01 ` Rafael J. Wysocki [this message]
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=201208091201.48712.rjw@sisk.pl \
--to=rjw@sisk.pl \
--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 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.