linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* of_flat_dt_match() helper build FAIL
@ 2011-01-21  2:15 Benjamin Herrenschmidt
  2011-01-21  2:30 ` Stephen Rothwell
  2011-01-21  5:44 ` Grant Likely
  0 siblings, 2 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2011-01-21  2:15 UTC (permalink / raw)
  To: Grant Likely; +Cc: linuxppc-dev

a4f740cf33f7f6c164bbde3c0cdbcc77b0c4997c introduces:

/arch/powerpc/platforms/83xx/mpc831x_rdb.c:63: error: expected '{'
before 'const'

 and more...

This hunk is obviously bogus:

+struct const char *board[] __initdata = {
+	"MPC8313ERDB",
+	"fsl,mpc8315erdb",
+	NULL
+}
+

You should at least compile test your changes :-(

Please send Linus a fix.

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: of_flat_dt_match() helper build FAIL
  2011-01-21  2:15 of_flat_dt_match() helper build FAIL Benjamin Herrenschmidt
@ 2011-01-21  2:30 ` Stephen Rothwell
  2011-01-21  5:44 ` Grant Likely
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2011-01-21  2:30 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

Hi Ben,

On Fri, 21 Jan 2011 13:15:22 +1100 Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> a4f740cf33f7f6c164bbde3c0cdbcc77b0c4997c introduces:
> 
> /arch/powerpc/platforms/83xx/mpc831x_rdb.c:63: error: expected '{'
> before 'const'
> 
>  and more...
> 
> This hunk is obviously bogus:
> 
> +struct const char *board[] __initdata = {
> +	"MPC8313ERDB",
> +	"fsl,mpc8315erdb",
> +	NULL
> +}
> +
> 
> You should at least compile test your changes :-(
> 
> Please send Linus a fix.

Its already in Grant's devicetree/merge branch (which I assume he will
ask you to pull soon) and has been in linux-next for the past 2 days.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: of_flat_dt_match() helper build FAIL
  2011-01-21  2:15 of_flat_dt_match() helper build FAIL Benjamin Herrenschmidt
  2011-01-21  2:30 ` Stephen Rothwell
@ 2011-01-21  5:44 ` Grant Likely
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2011-01-21  5:44 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev

On Thu, Jan 20, 2011 at 7:15 PM, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
> a4f740cf33f7f6c164bbde3c0cdbcc77b0c4997c introduces:
>
> /arch/powerpc/platforms/83xx/mpc831x_rdb.c:63: error: expected '{'
> before 'const'
>
> =A0and more...
>
> This hunk is obviously bogus:
>
> +struct const char *board[] __initdata =3D {
> + =A0 =A0 =A0 "MPC8313ERDB",
> + =A0 =A0 =A0 "fsl,mpc8315erdb",
> + =A0 =A0 =A0 NULL
> +}
> +
>
> You should at least compile test your changes :-(

I do.  Always.  Over Christmas I even set up an autotest instance to
automate a bunch of the sanity testing so I'd get better coverage, and
I always get changes into linux-next, this commit included. Sometimes
I miss a configuration though, and I apologize.  Sorry.

> Please send Linus a fix.

I wrote and pushed out the fix yesterday and I just sent Linus the pull req=
.

g.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-21  5:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-21  2:15 of_flat_dt_match() helper build FAIL Benjamin Herrenschmidt
2011-01-21  2:30 ` Stephen Rothwell
2011-01-21  5:44 ` Grant Likely

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).