From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: kernel-janitors@vger.kernel.org
Subject: Re: [pm:linux-next 25/39] arch/arm/mach-shmobile/pm-r8a7779.c:203:2: warning: (near initialization f
Date: Thu, 09 Aug 2012 21:13:09 +0000 [thread overview]
Message-ID: <201208092313.09527.rjw@sisk.pl> (raw)
In-Reply-To: <20120809173158.GB14562@localhost>
Hi,
On Thursday, August 09, 2012, Fengguang Wu wrote:
> Hi Rafael,
>
> FYI, there are new compile warnings show up in
>
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
> head: d456facb656659ead41e1b3cccf693213e80d04a
> commit: 85b6dd851494d40ae48895454f836b21d07758cc [25/39] ARM: shmobile: Drop r8a7779_add_device_to_domain()
> config: arm-marzen_defconfig (attached as .config)
>
> All error/warnings:
>
> arch/arm/mach-shmobile/pm-r8a7779.c:203:2: error: unknown field 'genpd_name' specified in initializer
> arch/arm/mach-shmobile/pm-r8a7779.c:203:2: warning: missing braces around initializer [-Wmissing-braces]
> arch/arm/mach-shmobile/pm-r8a7779.c:203:2: warning: (near initialization for 'r8a7779_sh4a.genpd') [-Wmissing-braces]
> arch/arm/mach-shmobile/pm-r8a7779.c:203:2: warning: initialization from incompatible pointer type [enabled by default]
> arch/arm/mach-shmobile/pm-r8a7779.c:203:2: warning: (near initialization for 'r8a7779_sh4a.genpd.domain.ops.prepare') [enabled by default]
> arch/arm/mach-shmobile/pm-r8a7779.c:211:2: error: unknown field 'genpd_name' specified in initializer
> arch/arm/mach-shmobile/pm-r8a7779.c:211:2: warning: missing braces around initializer [-Wmissing-braces]
> arch/arm/mach-shmobile/pm-r8a7779.c:211:2: warning: (near initialization for 'r8a7779_sgx.genpd') [-Wmissing-braces]
> arch/arm/mach-shmobile/pm-r8a7779.c:211:2: warning: initialization from incompatible pointer type [enabled by default]
> arch/arm/mach-shmobile/pm-r8a7779.c:211:2: warning: (near initialization for 'r8a7779_sgx.genpd.domain.ops.prepare') [enabled by default]
> arch/arm/mach-shmobile/pm-r8a7779.c:219:2: error: unknown field 'genpd_name' specified in initializer
> arch/arm/mach-shmobile/pm-r8a7779.c:219:2: warning: missing braces around initializer [-Wmissing-braces]
> arch/arm/mach-shmobile/pm-r8a7779.c:219:2: warning: (near initialization for 'r8a7779_vdp1.genpd') [-Wmissing-braces]
> arch/arm/mach-shmobile/pm-r8a7779.c:219:2: warning: initialization from incompatible pointer type [enabled by default]
> arch/arm/mach-shmobile/pm-r8a7779.c:219:2: warning: (near initialization for 'r8a7779_vdp1.genpd.domain.ops.prepare') [enabled by default]
> arch/arm/mach-shmobile/pm-r8a7779.c:227:2: error: unknown field 'genpd_name' specified in initializer
> arch/arm/mach-shmobile/pm-r8a7779.c:227:2: warning: missing braces around initializer [-Wmissing-braces]
> arch/arm/mach-shmobile/pm-r8a7779.c:227:2: warning: (near initialization for 'r8a7779_impx3.genpd') [-Wmissing-braces]
> arch/arm/mach-shmobile/pm-r8a7779.c:227:2: warning: initialization from incompatible pointer type [enabled by default]
> arch/arm/mach-shmobile/pm-r8a7779.c:227:2: warning: (near initialization for 'r8a7779_impx3.genpd.domain.ops.prepare') [enabled by default]
>
> vim +203 arch/arm/mach-shmobile/pm-r8a7779.c
> 200 }
> 201
> 202 struct r8a7779_pm_domain r8a7779_sh4a = {
> > 203 .genpd_name = "SH4A",
> 204 .ch = {
> 205 .chan_offs = 0x80, /* PWRSR1 .. PWRER1 */
> 206 .isr_bit = 16, /* SH4A */
>
Thanks for the report!
This problem should be fixed in linux-pm/linux-next now.
Thanks,
Rafael
prev parent reply other threads:[~2012-08-09 21:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-09 17:31 [pm:linux-next 25/39] arch/arm/mach-shmobile/pm-r8a7779.c:203:2: warning: (near initialization for ' Fengguang Wu
2012-08-09 21:13 ` 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=201208092313.09527.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 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).