linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] colibri.h: Fix building for colibri 270...
@ 2010-04-16  9:51 Jakob Viketoft
  2010-04-16 10:01 ` Daniel Mack
  0 siblings, 1 reply; 18+ messages in thread
From: Jakob Viketoft @ 2010-04-16  9:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Daniel Mack, Eric Miao

The recent addition of (Colibri) PXA3xx specific declarations breaks the 
building of the Colibri 270 with similar features.

CC: Daniel Mack <daniel@caiaq.de>
CC: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by <jakob.viketoft@bitsim.com>

--- a/arch/arm/mach-pxa/include/mach/colibri.h	2010-03-15 
17:09:39.000000000 +0100
+++ b/arch/arm/mach-pxa/include/mach/colibri.h	2010-04-16 
11:06:15.000000000 +0200
@@ -7,6 +7,7 @@
   * common settings for all modules
   */

+#if defined(CONFIG_MACH_COLIBRI300) || defined(CONFIG_MACH_COLIBRI320)
  #if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
  extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int 
detect_pin);
  #else
@@ -28,6 +29,7 @@
  #else
  static inline void colibri_pxa3xx_init_nand(void) {}
  #endif
+#endif

  /* physical memory regions */
  #define COLIBRI_SDRAM_BASE	0xa0000000      /* SDRAM region */


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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-04-16  9:51 [PATCH] colibri.h: Fix building for colibri 270 Jakob Viketoft
@ 2010-04-16 10:01 ` Daniel Mack
  2010-04-16 11:17   ` Jakob Viketoft
  0 siblings, 1 reply; 18+ messages in thread
From: Daniel Mack @ 2010-04-16 10:01 UTC (permalink / raw)
  To: Jakob Viketoft; +Cc: linux-kernel, Eric Miao

On Fri, Apr 16, 2010 at 11:51:10AM +0200, Jakob Viketoft wrote:
> The recent addition of (Colibri) PXA3xx specific declarations breaks
> the building of the Colibri 270 with similar features.

Hmm, I can't see any problem here. Which error did you get? Which boards
did you select in your config?

Daniel


> 
> CC: Daniel Mack <daniel@caiaq.de>
> CC: Eric Miao <eric.y.miao@gmail.com>
> Signed-off-by <jakob.viketoft@bitsim.com>
> 
> --- a/arch/arm/mach-pxa/include/mach/colibri.h	2010-03-15
> 17:09:39.000000000 +0100
> +++ b/arch/arm/mach-pxa/include/mach/colibri.h	2010-04-16
> 11:06:15.000000000 +0200
> @@ -7,6 +7,7 @@
>   * common settings for all modules
>   */
> 
> +#if defined(CONFIG_MACH_COLIBRI300) || defined(CONFIG_MACH_COLIBRI320)
>  #if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
>  extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int
> detect_pin);
>  #else
> @@ -28,6 +29,7 @@
>  #else
>  static inline void colibri_pxa3xx_init_nand(void) {}
>  #endif
> +#endif
> 
>  /* physical memory regions */
>  #define COLIBRI_SDRAM_BASE	0xa0000000      /* SDRAM region */
> 

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-04-16 10:01 ` Daniel Mack
@ 2010-04-16 11:17   ` Jakob Viketoft
  2010-04-16 11:25     ` Jakob Viketoft
  2010-04-16 11:26     ` Daniel Mack
  0 siblings, 2 replies; 18+ messages in thread
From: Jakob Viketoft @ 2010-04-16 11:17 UTC (permalink / raw)
  To: daniel; +Cc: linux-kernel, Eric Miao

Daniel Mack wrote:
> On Fri, Apr 16, 2010 at 11:51:10AM +0200, Jakob Viketoft wrote:
>> The recent addition of (Colibri) PXA3xx specific declarations breaks
>> the building of the Colibri 270 with similar features.
> 
> Hmm, I can't see any problem here. Which error did you get? Which boards
> did you select in your config?

Hmmm, it appears I was slightly too fast on the trigger there. I 
encountered the problem some time ago when migrating fron 2.6.29 to 
2.6.33.1 and a quick look made me think there was a linking problem. I'm 
finishing up this project now and wanted to push any relevant fixes 
upstream. However, the problem I seem to be getting is something 
different though:

   CC      drivers/pcmcia/pxa2xx_colibri.o
In file included from drivers/pcmcia/pxa2xx_colibri.c:25:
arch/arm/mach-pxa/include/mach/colibri.h:13: error: expected ')' before 
'*' token
make[2]: *** [drivers/pcmcia/pxa2xx_colibri.o] Error 1
make[1]: *** [drivers/pcmcia] Error 2
make: *** [drivers] Error 2

Is this an error on my part somehow?

	/Jakob


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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-04-16 11:17   ` Jakob Viketoft
@ 2010-04-16 11:25     ` Jakob Viketoft
  2010-04-16 11:28       ` Daniel Mack
  2010-04-16 11:26     ` Daniel Mack
  1 sibling, 1 reply; 18+ messages in thread
From: Jakob Viketoft @ 2010-04-16 11:25 UTC (permalink / raw)
  To: daniel; +Cc: linux-kernel, Eric Miao

Jakob Viketoft wrote:
> Daniel Mack wrote:
<...>
>   CC      drivers/pcmcia/pxa2xx_colibri.o
> In file included from drivers/pcmcia/pxa2xx_colibri.c:25:
> arch/arm/mach-pxa/include/mach/colibri.h:13: error: expected ')' before 
> '*' token
> make[2]: *** [drivers/pcmcia/pxa2xx_colibri.o] Error 1
> make[1]: *** [drivers/pcmcia] Error 2
> make: *** [drivers] Error 2

Adding a "#include <mach/mfp.h>" seem to cure this problem. If you agree 
I can supply a new patch with the correct solution this time.

	/Jakob


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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-04-16 11:17   ` Jakob Viketoft
  2010-04-16 11:25     ` Jakob Viketoft
@ 2010-04-16 11:26     ` Daniel Mack
  1 sibling, 0 replies; 18+ messages in thread
From: Daniel Mack @ 2010-04-16 11:26 UTC (permalink / raw)
  To: Jakob Viketoft; +Cc: linux-kernel, Eric Miao

On Fri, Apr 16, 2010 at 01:17:58PM +0200, Jakob Viketoft wrote:
> Daniel Mack wrote:
> >On Fri, Apr 16, 2010 at 11:51:10AM +0200, Jakob Viketoft wrote:
> >>The recent addition of (Colibri) PXA3xx specific declarations breaks
> >>the building of the Colibri 270 with similar features.
> >
> >Hmm, I can't see any problem here. Which error did you get? Which boards
> >did you select in your config?
> 
> Hmmm, it appears I was slightly too fast on the trigger there. I
> encountered the problem some time ago when migrating fron 2.6.29 to
> 2.6.33.1 and a quick look made me think there was a linking problem.
> I'm finishing up this project now and wanted to push any relevant
> fixes upstream. However, the problem I seem to be getting is
> something different though:
> 
>   CC      drivers/pcmcia/pxa2xx_colibri.o
> In file included from drivers/pcmcia/pxa2xx_colibri.c:25:
> arch/arm/mach-pxa/include/mach/colibri.h:13: error: expected ')'
> before '*' token
> make[2]: *** [drivers/pcmcia/pxa2xx_colibri.o] Error 1
> make[1]: *** [drivers/pcmcia] Error 2
> make: *** [drivers] Error 2

It seems that mfp_cfg_t is unknown. Does including <mach/mfp.h> from
pxa2xx_colibri.c help? However, I can't see any problem on 2.6.34-rc4,
with or without CONFIG_MMC set, so that might only be related to 2.6.33.
Any change of trying this on a cutting edge tree, just to make sure?

Daniel

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-04-16 11:25     ` Jakob Viketoft
@ 2010-04-16 11:28       ` Daniel Mack
  2010-04-16 11:29         ` Daniel Mack
  0 siblings, 1 reply; 18+ messages in thread
From: Daniel Mack @ 2010-04-16 11:28 UTC (permalink / raw)
  To: Jakob Viketoft; +Cc: linux-kernel, Eric Miao

On Fri, Apr 16, 2010 at 01:25:49PM +0200, Jakob Viketoft wrote:
> Jakob Viketoft wrote:
> >Daniel Mack wrote:
> <...>
> >  CC      drivers/pcmcia/pxa2xx_colibri.o
> >In file included from drivers/pcmcia/pxa2xx_colibri.c:25:
> >arch/arm/mach-pxa/include/mach/colibri.h:13: error: expected ')'
> >before '*' token
> >make[2]: *** [drivers/pcmcia/pxa2xx_colibri.o] Error 1
> >make[1]: *** [drivers/pcmcia] Error 2
> >make: *** [drivers] Error 2
> 
> Adding a "#include <mach/mfp.h>" seem to cure this problem. If you
> agree I can supply a new patch with the correct solution this time.

Ok. Add it to colibri.h, and while at it, you can kick the ax88796.h
inclusion. That's a leftover and isn't needed.

Thanks,
Daniel

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-04-16 11:28       ` Daniel Mack
@ 2010-04-16 11:29         ` Daniel Mack
  2010-05-05  7:45           ` Eric Miao
  0 siblings, 1 reply; 18+ messages in thread
From: Daniel Mack @ 2010-04-16 11:29 UTC (permalink / raw)
  To: Jakob Viketoft; +Cc: linux-kernel, Eric Miao

On Fri, Apr 16, 2010 at 01:28:20PM +0200, Daniel Mack wrote:
> On Fri, Apr 16, 2010 at 01:25:49PM +0200, Jakob Viketoft wrote:
> > Adding a "#include <mach/mfp.h>" seem to cure this problem. If you
> > agree I can supply a new patch with the correct solution this time.
> 
> Ok. Add it to colibri.h, and while at it, you can kick the ax88796.h
> inclusion. That's a leftover and isn't needed.

And Cc: stable@kernel.org for the backmerge to 2.6.33.

Thanks,
Daniel

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-04-16 11:29         ` Daniel Mack
@ 2010-05-05  7:45           ` Eric Miao
  2010-05-05  8:00             ` Daniel Mack
  0 siblings, 1 reply; 18+ messages in thread
From: Eric Miao @ 2010-05-05  7:45 UTC (permalink / raw)
  To: Daniel Mack; +Cc: Jakob Viketoft, linux-kernel

On Fri, Apr 16, 2010 at 7:29 PM, Daniel Mack <daniel@caiaq.de> wrote:
> On Fri, Apr 16, 2010 at 01:28:20PM +0200, Daniel Mack wrote:
>> On Fri, Apr 16, 2010 at 01:25:49PM +0200, Jakob Viketoft wrote:
>> > Adding a "#include <mach/mfp.h>" seem to cure this problem. If you
>> > agree I can supply a new patch with the correct solution this time.
>>
>> Ok. Add it to colibri.h, and while at it, you can kick the ax88796.h
>> inclusion. That's a leftover and isn't needed.
>
> And Cc: stable@kernel.org for the backmerge to 2.6.33.
>

Jakob, any update on this?

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-05-05  7:45           ` Eric Miao
@ 2010-05-05  8:00             ` Daniel Mack
  2010-05-05  9:28               ` Eric Miao
  0 siblings, 1 reply; 18+ messages in thread
From: Daniel Mack @ 2010-05-05  8:00 UTC (permalink / raw)
  To: Eric Miao; +Cc: Jakob Viketoft, linux-kernel

On Wed, May 05, 2010 at 03:45:34PM +0800, Eric Miao wrote:
> On Fri, Apr 16, 2010 at 7:29 PM, Daniel Mack <daniel@caiaq.de> wrote:
> > On Fri, Apr 16, 2010 at 01:28:20PM +0200, Daniel Mack wrote:
> >> On Fri, Apr 16, 2010 at 01:25:49PM +0200, Jakob Viketoft wrote:
> >> > Adding a "#include <mach/mfp.h>" seem to cure this problem. If you
> >> > agree I can supply a new patch with the correct solution this time.
> >>
> >> Ok. Add it to colibri.h, and while at it, you can kick the ax88796.h
> >> inclusion. That's a leftover and isn't needed.
> >
> > And Cc: stable@kernel.org for the backmerge to 2.6.33.
> >
> 
> Jakob, any update on this?

Jakob provided an updated patch for this:

  http://lkml.org/lkml/2010/4/16/100



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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-05-05  8:00             ` Daniel Mack
@ 2010-05-05  9:28               ` Eric Miao
  2010-05-05  9:44                 ` Daniel Mack
  0 siblings, 1 reply; 18+ messages in thread
From: Eric Miao @ 2010-05-05  9:28 UTC (permalink / raw)
  To: Daniel Mack; +Cc: Jakob Viketoft, linux-kernel

On Wed, May 5, 2010 at 4:00 PM, Daniel Mack <daniel@caiaq.de> wrote:
> On Wed, May 05, 2010 at 03:45:34PM +0800, Eric Miao wrote:
>> On Fri, Apr 16, 2010 at 7:29 PM, Daniel Mack <daniel@caiaq.de> wrote:
>> > On Fri, Apr 16, 2010 at 01:28:20PM +0200, Daniel Mack wrote:
>> >> On Fri, Apr 16, 2010 at 01:25:49PM +0200, Jakob Viketoft wrote:
>> >> > Adding a "#include <mach/mfp.h>" seem to cure this problem. If you
>> >> > agree I can supply a new patch with the correct solution this time.
>> >>
>> >> Ok. Add it to colibri.h, and while at it, you can kick the ax88796.h
>> >> inclusion. That's a leftover and isn't needed.
>> >
>> > And Cc: stable@kernel.org for the backmerge to 2.6.33.
>> >
>>
>> Jakob, any update on this?
>
> Jakob provided an updated patch for this:
>
>  http://lkml.org/lkml/2010/4/16/100
>

Looks it didn't make into -stable. And I'm not able to find
drivers/pcmcia/pxa2xx_colibri.c as well.

Daniel, any idea?

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-05-05  9:28               ` Eric Miao
@ 2010-05-05  9:44                 ` Daniel Mack
  2010-05-05  9:47                   ` Eric Miao
  2010-05-05 15:20                   ` Greg KH
  0 siblings, 2 replies; 18+ messages in thread
From: Daniel Mack @ 2010-05-05  9:44 UTC (permalink / raw)
  To: Eric Miao; +Cc: Jakob Viketoft, linux-kernel, Greg KH

On Wed, May 05, 2010 at 05:28:45PM +0800, Eric Miao wrote:
> On Wed, May 5, 2010 at 4:00 PM, Daniel Mack <daniel@caiaq.de> wrote:
> > On Wed, May 05, 2010 at 03:45:34PM +0800, Eric Miao wrote:
> >> On Fri, Apr 16, 2010 at 7:29 PM, Daniel Mack <daniel@caiaq.de> wrote:
> >> > On Fri, Apr 16, 2010 at 01:28:20PM +0200, Daniel Mack wrote:
> >> >> On Fri, Apr 16, 2010 at 01:25:49PM +0200, Jakob Viketoft wrote:
> >> >> > Adding a "#include <mach/mfp.h>" seem to cure this problem. If you
> >> >> > agree I can supply a new patch with the correct solution this time.
> >> >>
> >> >> Ok. Add it to colibri.h, and while at it, you can kick the ax88796.h
> >> >> inclusion. That's a leftover and isn't needed.
> >> >
> >> > And Cc: stable@kernel.org for the backmerge to 2.6.33.
> >> >
> >>
> >> Jakob, any update on this?
> >
> > Jakob provided an updated patch for this:
> >
> >  http://lkml.org/lkml/2010/4/16/100
> >
> 
> Looks it didn't make into -stable.

Greg, stable@kernel.org was in Cc: for the patch in the URL above.
Any chance to get this in?

> And I'm not able to find
> drivers/pcmcia/pxa2xx_colibri.c as well.

Erm - how is that related to the patch in question?

Daniel

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-05-05  9:44                 ` Daniel Mack
@ 2010-05-05  9:47                   ` Eric Miao
  2010-05-05  9:53                     ` Daniel Mack
  2010-05-05 15:20                   ` Greg KH
  1 sibling, 1 reply; 18+ messages in thread
From: Eric Miao @ 2010-05-05  9:47 UTC (permalink / raw)
  To: Daniel Mack; +Cc: Jakob Viketoft, linux-kernel, Greg KH

On Wed, May 5, 2010 at 5:44 PM, Daniel Mack <daniel@caiaq.de> wrote:
> On Wed, May 05, 2010 at 05:28:45PM +0800, Eric Miao wrote:
>> On Wed, May 5, 2010 at 4:00 PM, Daniel Mack <daniel@caiaq.de> wrote:
>> > On Wed, May 05, 2010 at 03:45:34PM +0800, Eric Miao wrote:
>> >> On Fri, Apr 16, 2010 at 7:29 PM, Daniel Mack <daniel@caiaq.de> wrote:
>> >> > On Fri, Apr 16, 2010 at 01:28:20PM +0200, Daniel Mack wrote:
>> >> >> On Fri, Apr 16, 2010 at 01:25:49PM +0200, Jakob Viketoft wrote:
>> >> >> > Adding a "#include <mach/mfp.h>" seem to cure this problem. If you
>> >> >> > agree I can supply a new patch with the correct solution this time.
>> >> >>
>> >> >> Ok. Add it to colibri.h, and while at it, you can kick the ax88796.h
>> >> >> inclusion. That's a leftover and isn't needed.
>> >> >
>> >> > And Cc: stable@kernel.org for the backmerge to 2.6.33.
>> >> >
>> >>
>> >> Jakob, any update on this?
>> >
>> > Jakob provided an updated patch for this:
>> >
>> >  http://lkml.org/lkml/2010/4/16/100
>> >
>>
>> Looks it didn't make into -stable.
>
> Greg, stable@kernel.org was in Cc: for the patch in the URL above.
> Any chance to get this in?
>
>> And I'm not able to find
>> drivers/pcmcia/pxa2xx_colibri.c as well.
>
> Erm - how is that related to the patch in question?
>

The error seems to be (as in previous mail):

 CC      drivers/pcmcia/pxa2xx_colibri.o
In file included from drivers/pcmcia/pxa2xx_colibri.c:25:
arch/arm/mach-pxa/include/mach/colibri.h:13: error: expected ')'
before '*' token
make[2]: *** [drivers/pcmcia/pxa2xx_colibri.o] Error 1
make[1]: *** [drivers/pcmcia] Error 2
make: *** [drivers] Error 2

And actually, inclusion of <mach/mfp.h> is better to be placed where it's
used, i.e. drivers/pcmcia/pxa2xx_colibri.c.

> Daniel
>

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-05-05  9:47                   ` Eric Miao
@ 2010-05-05  9:53                     ` Daniel Mack
  2010-05-05 10:21                       ` Eric Miao
  0 siblings, 1 reply; 18+ messages in thread
From: Daniel Mack @ 2010-05-05  9:53 UTC (permalink / raw)
  To: Eric Miao; +Cc: Jakob Viketoft, linux-kernel, Greg KH

On Wed, May 05, 2010 at 05:47:14PM +0800, Eric Miao wrote:
> On Wed, May 5, 2010 at 5:44 PM, Daniel Mack <daniel@caiaq.de> wrote:

> >> And I'm not able to find
> >> drivers/pcmcia/pxa2xx_colibri.c as well.
> >
> > Erm - how is that related to the patch in question?
> >
> 
> The error seems to be (as in previous mail):
> 
>  CC      drivers/pcmcia/pxa2xx_colibri.o
> In file included from drivers/pcmcia/pxa2xx_colibri.c:25:
> arch/arm/mach-pxa/include/mach/colibri.h:13: error: expected ')'
> before '*' token
> make[2]: *** [drivers/pcmcia/pxa2xx_colibri.o] Error 1
> make[1]: *** [drivers/pcmcia] Error 2
> make: *** [drivers] Error 2

Ah, sorry.

> And actually, inclusion of <mach/mfp.h> is better to be placed where it's
> used, i.e. drivers/pcmcia/pxa2xx_colibri.c.

In general I agree, but in this case, mfp_t is used in this header file,
so every piece of code which includes colibri.h will need both
<mach/mfp.h> and <net/ax88796.h>. And as this is a rule for all users, I
think the right place for the inclusion is the header file?

Apart from that, this fix will work for both mainline and -stable, which
makes things easier :)

Daniel


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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-05-05  9:53                     ` Daniel Mack
@ 2010-05-05 10:21                       ` Eric Miao
  2010-05-05 11:02                         ` Jakob Viketoft
  0 siblings, 1 reply; 18+ messages in thread
From: Eric Miao @ 2010-05-05 10:21 UTC (permalink / raw)
  To: Daniel Mack; +Cc: Jakob Viketoft, linux-kernel, Greg KH

On Wed, May 5, 2010 at 5:53 PM, Daniel Mack <daniel@caiaq.de> wrote:
> On Wed, May 05, 2010 at 05:47:14PM +0800, Eric Miao wrote:
>> On Wed, May 5, 2010 at 5:44 PM, Daniel Mack <daniel@caiaq.de> wrote:
>
>> >> And I'm not able to find
>> >> drivers/pcmcia/pxa2xx_colibri.c as well.
>> >
>> > Erm - how is that related to the patch in question?
>> >
>>
>> The error seems to be (as in previous mail):
>>
>>  CC      drivers/pcmcia/pxa2xx_colibri.o
>> In file included from drivers/pcmcia/pxa2xx_colibri.c:25:
>> arch/arm/mach-pxa/include/mach/colibri.h:13: error: expected ')'
>> before '*' token
>> make[2]: *** [drivers/pcmcia/pxa2xx_colibri.o] Error 1
>> make[1]: *** [drivers/pcmcia] Error 2
>> make: *** [drivers] Error 2
>
> Ah, sorry.
>
>> And actually, inclusion of <mach/mfp.h> is better to be placed where it's
>> used, i.e. drivers/pcmcia/pxa2xx_colibri.c.
>
> In general I agree, but in this case, mfp_t is used in this header file,
> so every piece of code which includes colibri.h will need both
> <mach/mfp.h> and <net/ax88796.h>. And as this is a rule for all users, I
> think the right place for the inclusion is the header file?
>

I see.

Acked-by: Eric Miao <eric.y.miao@gmail.com>


> Apart from that, this fix will work for both mainline and -stable, which
> makes things easier :)
>

I'll take it to -pxa then.

> Daniel
>
>

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-05-05 10:21                       ` Eric Miao
@ 2010-05-05 11:02                         ` Jakob Viketoft
  0 siblings, 0 replies; 18+ messages in thread
From: Jakob Viketoft @ 2010-05-05 11:02 UTC (permalink / raw)
  To: eric.y.miao; +Cc: Daniel Mack, linux-kernel, Greg KH, minimumlaw

Hello!

I didn't see this first as the e-mail address jakob.viketoft@bitsim.com 
is being shut down (changing jobs).

Eric Miao wrote:
> On Wed, May 5, 2010 at 5:53 PM, Daniel Mack <daniel@caiaq.de> wrote:
>> On Wed, May 05, 2010 at 05:47:14PM +0800, Eric Miao wrote:
>>> On Wed, May 5, 2010 at 5:44 PM, Daniel Mack <daniel@caiaq.de> wrote:
>>>>> And I'm not able to find
>>>>> drivers/pcmcia/pxa2xx_colibri.c as well.
>>>> Erm - how is that related to the patch in question?
>>>>
>>> The error seems to be (as in previous mail):
>>>
>>>  CC      drivers/pcmcia/pxa2xx_colibri.o
>>> In file included from drivers/pcmcia/pxa2xx_colibri.c:25:
>>> arch/arm/mach-pxa/include/mach/colibri.h:13: error: expected ')'
>>> before '*' token
>>> make[2]: *** [drivers/pcmcia/pxa2xx_colibri.o] Error 1
>>> make[1]: *** [drivers/pcmcia] Error 2
>>> make: *** [drivers] Error 2
>> Ah, sorry.

The pcmcia-patch isn't my work, but that of Alex A. Mihaylov 
(minimumlaw@rambler.ru). I was hoping that he would be pushing those 
bits upstream separately, but I think some things needs to me shifted 
around a bit to be accepted.

>>
>>> And actually, inclusion of <mach/mfp.h> is better to be placed where it's
>>> used, i.e. drivers/pcmcia/pxa2xx_colibri.c.
>> In general I agree, but in this case, mfp_t is used in this header file,
>> so every piece of code which includes colibri.h will need both
>> <mach/mfp.h> and <net/ax88796.h>. And as this is a rule for all users, I
>> think the right place for the inclusion is the header file?
>>
> 
> I see.
> 
> Acked-by: Eric Miao <eric.y.miao@gmail.com>

Thanks.

> 
> 
>> Apart from that, this fix will work for both mainline and -stable, which
>> makes things easier :)
>>
> 
> I'll take it to -pxa then.

Sounds good!

	/Jakob


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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-05-05  9:44                 ` Daniel Mack
  2010-05-05  9:47                   ` Eric Miao
@ 2010-05-05 15:20                   ` Greg KH
  2010-05-05 15:54                     ` Daniel Mack
  1 sibling, 1 reply; 18+ messages in thread
From: Greg KH @ 2010-05-05 15:20 UTC (permalink / raw)
  To: Daniel Mack; +Cc: Eric Miao, Jakob Viketoft, linux-kernel

On Wed, May 05, 2010 at 11:44:05AM +0200, Daniel Mack wrote:
> On Wed, May 05, 2010 at 05:28:45PM +0800, Eric Miao wrote:
> > On Wed, May 5, 2010 at 4:00 PM, Daniel Mack <daniel@caiaq.de> wrote:
> > > On Wed, May 05, 2010 at 03:45:34PM +0800, Eric Miao wrote:
> > >> On Fri, Apr 16, 2010 at 7:29 PM, Daniel Mack <daniel@caiaq.de> wrote:
> > >> > On Fri, Apr 16, 2010 at 01:28:20PM +0200, Daniel Mack wrote:
> > >> >> On Fri, Apr 16, 2010 at 01:25:49PM +0200, Jakob Viketoft wrote:
> > >> >> > Adding a "#include <mach/mfp.h>" seem to cure this problem. If you
> > >> >> > agree I can supply a new patch with the correct solution this time.
> > >> >>
> > >> >> Ok. Add it to colibri.h, and while at it, you can kick the ax88796.h
> > >> >> inclusion. That's a leftover and isn't needed.
> > >> >
> > >> > And Cc: stable@kernel.org for the backmerge to 2.6.33.
> > >> >
> > >>
> > >> Jakob, any update on this?
> > >
> > > Jakob provided an updated patch for this:
> > >
> > >  http://lkml.org/lkml/2010/4/16/100
> > >
> > 
> > Looks it didn't make into -stable.
> 
> Greg, stable@kernel.org was in Cc: for the patch in the URL above.
> Any chance to get this in?

Is it in Linus's tree?  If so, what is the git commit id of it?  If you
properly tag the patch with "cc: stable <stable@kernel.org>" like you
did in the patch, then it will be automatically sent to me when it hits
Linus's tree.

I don't see this one in my queue at the moment.

thanks,

greg k-h

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-05-05 15:20                   ` Greg KH
@ 2010-05-05 15:54                     ` Daniel Mack
  2010-05-05 16:15                       ` Greg KH
  0 siblings, 1 reply; 18+ messages in thread
From: Daniel Mack @ 2010-05-05 15:54 UTC (permalink / raw)
  To: Greg KH; +Cc: Eric Miao, Jakob Viketoft, linux-kernel

On Wed, May 05, 2010 at 08:20:00AM -0700, Greg KH wrote:
> On Wed, May 05, 2010 at 11:44:05AM +0200, Daniel Mack wrote:
> > On Wed, May 05, 2010 at 05:28:45PM +0800, Eric Miao wrote:
> > > On Wed, May 5, 2010 at 4:00 PM, Daniel Mack <daniel@caiaq.de> wrote:
> > > > On Wed, May 05, 2010 at 03:45:34PM +0800, Eric Miao wrote:
> > > >> On Fri, Apr 16, 2010 at 7:29 PM, Daniel Mack <daniel@caiaq.de> wrote:
> > > >> > On Fri, Apr 16, 2010 at 01:28:20PM +0200, Daniel Mack wrote:
> > > >> >> On Fri, Apr 16, 2010 at 01:25:49PM +0200, Jakob Viketoft wrote:
> > > >> >> > Adding a "#include <mach/mfp.h>" seem to cure this problem. If you
> > > >> >> > agree I can supply a new patch with the correct solution this time.
> > > >> >>
> > > >> >> Ok. Add it to colibri.h, and while at it, you can kick the ax88796.h
> > > >> >> inclusion. That's a leftover and isn't needed.
> > > >> >
> > > >> > And Cc: stable@kernel.org for the backmerge to 2.6.33.
> > > >> >
> > > >>
> > > >> Jakob, any update on this?
> > > >
> > > > Jakob provided an updated patch for this:
> > > >
> > > >  http://lkml.org/lkml/2010/4/16/100
> > > >
> > > 
> > > Looks it didn't make into -stable.
> > 
> > Greg, stable@kernel.org was in Cc: for the patch in the URL above.
> > Any chance to get this in?
> 
> Is it in Linus's tree?  If so, what is the git commit id of it?  If you
> properly tag the patch with "cc: stable <stable@kernel.org>" like you
> did in the patch, then it will be automatically sent to me when it hits
> Linus's tree.

I see - thought you were picking them up from the mails.
Thanks for explaining :)

> I don't see this one in my queue at the moment.

It's not there yet. Eric picked it, but I'm not sure whether it will
still make it to .34. But ok, let's just wait then.

Thanks,
Daniel

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

* Re: [PATCH] colibri.h: Fix building for colibri 270...
  2010-05-05 15:54                     ` Daniel Mack
@ 2010-05-05 16:15                       ` Greg KH
  0 siblings, 0 replies; 18+ messages in thread
From: Greg KH @ 2010-05-05 16:15 UTC (permalink / raw)
  To: Daniel Mack; +Cc: Eric Miao, Jakob Viketoft, linux-kernel

On Wed, May 05, 2010 at 05:54:24PM +0200, Daniel Mack wrote:
> On Wed, May 05, 2010 at 08:20:00AM -0700, Greg KH wrote:
> > On Wed, May 05, 2010 at 11:44:05AM +0200, Daniel Mack wrote:
> > > On Wed, May 05, 2010 at 05:28:45PM +0800, Eric Miao wrote:
> > > > On Wed, May 5, 2010 at 4:00 PM, Daniel Mack <daniel@caiaq.de> wrote:
> > > > > On Wed, May 05, 2010 at 03:45:34PM +0800, Eric Miao wrote:
> > > > >> On Fri, Apr 16, 2010 at 7:29 PM, Daniel Mack <daniel@caiaq.de> wrote:
> > > > >> > On Fri, Apr 16, 2010 at 01:28:20PM +0200, Daniel Mack wrote:
> > > > >> >> On Fri, Apr 16, 2010 at 01:25:49PM +0200, Jakob Viketoft wrote:
> > > > >> >> > Adding a "#include <mach/mfp.h>" seem to cure this problem. If you
> > > > >> >> > agree I can supply a new patch with the correct solution this time.
> > > > >> >>
> > > > >> >> Ok. Add it to colibri.h, and while at it, you can kick the ax88796.h
> > > > >> >> inclusion. That's a leftover and isn't needed.
> > > > >> >
> > > > >> > And Cc: stable@kernel.org for the backmerge to 2.6.33.
> > > > >> >
> > > > >>
> > > > >> Jakob, any update on this?
> > > > >
> > > > > Jakob provided an updated patch for this:
> > > > >
> > > > >  http://lkml.org/lkml/2010/4/16/100
> > > > >
> > > > 
> > > > Looks it didn't make into -stable.
> > > 
> > > Greg, stable@kernel.org was in Cc: for the patch in the URL above.
> > > Any chance to get this in?
> > 
> > Is it in Linus's tree?  If so, what is the git commit id of it?  If you
> > properly tag the patch with "cc: stable <stable@kernel.org>" like you
> > did in the patch, then it will be automatically sent to me when it hits
> > Linus's tree.
> 
> I see - thought you were picking them up from the mails.
> Thanks for explaining :)
> 
> > I don't see this one in my queue at the moment.
> 
> It's not there yet. Eric picked it, but I'm not sure whether it will
> still make it to .34. But ok, let's just wait then.

I _CAN_NOT_ take patches into the stable tree before they go into
Linus's tree, so even if I was picking them up from emails, this could
not be accepted.

Please read the file, Documentation/stable_kernel_rules.txt for how the
process works.

thanks,

greg k-h

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

end of thread, other threads:[~2010-05-05 16:17 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-16  9:51 [PATCH] colibri.h: Fix building for colibri 270 Jakob Viketoft
2010-04-16 10:01 ` Daniel Mack
2010-04-16 11:17   ` Jakob Viketoft
2010-04-16 11:25     ` Jakob Viketoft
2010-04-16 11:28       ` Daniel Mack
2010-04-16 11:29         ` Daniel Mack
2010-05-05  7:45           ` Eric Miao
2010-05-05  8:00             ` Daniel Mack
2010-05-05  9:28               ` Eric Miao
2010-05-05  9:44                 ` Daniel Mack
2010-05-05  9:47                   ` Eric Miao
2010-05-05  9:53                     ` Daniel Mack
2010-05-05 10:21                       ` Eric Miao
2010-05-05 11:02                         ` Jakob Viketoft
2010-05-05 15:20                   ` Greg KH
2010-05-05 15:54                     ` Daniel Mack
2010-05-05 16:15                       ` Greg KH
2010-04-16 11:26     ` Daniel Mack

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