kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* [PowerPC] - Define error in arch/arch/powerpc/boot/io.h ??
@ 2014-07-24 12:00 Lucas Tanure
  2014-07-24 12:18 ` Denis Kirjanov
  2014-07-24 12:19 ` Kristof Provost
  0 siblings, 2 replies; 5+ messages in thread
From: Lucas Tanure @ 2014-07-24 12:00 UTC (permalink / raw)
  To: kernelnewbies

Hi,

Line 2 of arch/arch/powerpc/boot/io.h :

 1  #ifndef _IO_H
 2  #define __IO_H
 3
 4  #include "types.h"

Should be _IO_H, not __IO_H. I'm right ?

Thanks

--
Lucas Tanure
+55 (19) 988176559
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140724/b74471d0/attachment.html 

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

* [PowerPC] - Define error in arch/arch/powerpc/boot/io.h ??
  2014-07-24 12:00 [PowerPC] - Define error in arch/arch/powerpc/boot/io.h ?? Lucas Tanure
@ 2014-07-24 12:18 ` Denis Kirjanov
  2014-07-24 12:19 ` Kristof Provost
  1 sibling, 0 replies; 5+ messages in thread
From: Denis Kirjanov @ 2014-07-24 12:18 UTC (permalink / raw)
  To: kernelnewbies

On 7/24/14, Lucas Tanure <tanure@linux.com> wrote:
> Hi,
>
> Line 2 of arch/arch/powerpc/boot/io.h :
>
>  1  #ifndef _IO_H
>  2  #define __IO_H
>  3
>  4  #include "types.h"
>
> Should be _IO_H, not __IO_H. I'm right ?

Yes
> Thanks
>
> --
> Lucas Tanure
> +55 (19) 988176559
>


-- 
Regards,
Denis

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

* [PowerPC] - Define error in arch/arch/powerpc/boot/io.h ??
  2014-07-24 12:00 [PowerPC] - Define error in arch/arch/powerpc/boot/io.h ?? Lucas Tanure
  2014-07-24 12:18 ` Denis Kirjanov
@ 2014-07-24 12:19 ` Kristof Provost
  2014-07-24 15:43   ` Valdis.Kletnieks at vt.edu
  1 sibling, 1 reply; 5+ messages in thread
From: Kristof Provost @ 2014-07-24 12:19 UTC (permalink / raw)
  To: kernelnewbies

On 2014-07-24 09:00:22 (-0300), Lucas Tanure <tanure@linux.com> wrote:
> Line 2 of arch/arch/powerpc/boot/io.h :
> 
>  1  #ifndef _IO_H
>  2  #define __IO_H
>  3
>  4  #include "types.h"
> 
> Should be _IO_H, not __IO_H. I'm right ?
> 
That certainly looks wrong. It's also been wrong since October 2006, so
it's probably not actually causing problems.

Try sending it to the 'Trival Patch Monkey' ("For small patches you may
want to CC the Trivial Patch Monkey trivial at kernel.org which collects
"trivial" patches.")

-- 
Kristof

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

* [PowerPC] - Define error in arch/arch/powerpc/boot/io.h ??
  2014-07-24 12:19 ` Kristof Provost
@ 2014-07-24 15:43   ` Valdis.Kletnieks at vt.edu
  2014-07-24 15:58     ` Lucas Tanure
  0 siblings, 1 reply; 5+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2014-07-24 15:43 UTC (permalink / raw)
  To: kernelnewbies

On Thu, 24 Jul 2014 14:19:37 +0200, Kristof Provost said:
> On 2014-07-24 09:00:22 (-0300), Lucas Tanure <tanure@linux.com> wrote:
> > Line 2 of arch/arch/powerpc/boot/io.h :
> >
> >  1  #ifndef _IO_H
> >  2  #define __IO_H
> >  3
> >  4  #include "types.h"
> >
> > Should be _IO_H, not __IO_H. I'm right ?
> >
> That certainly looks wrong. It's also been wrong since October 2006, so
> it's probably not actually causing problems.

On the other hand, it would probably be a *really* good idea to test compile
it on a powerpc box, see if it shakes out any latent bugs.  All that fixing
this will do is stop us from over-including io.h (and thus types.h) - but if
there's any code that breaks because we don't include types.h and they don't
pick it up otherwise.....

(In other words, it's probably not causing a problem, but it *could* potentially
be papering over a problem elsewhere...)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140724/799cd96e/attachment.bin 

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

* [PowerPC] - Define error in arch/arch/powerpc/boot/io.h ??
  2014-07-24 15:43   ` Valdis.Kletnieks at vt.edu
@ 2014-07-24 15:58     ` Lucas Tanure
  0 siblings, 0 replies; 5+ messages in thread
From: Lucas Tanure @ 2014-07-24 15:58 UTC (permalink / raw)
  To: kernelnewbies

Ok, I will ask for a embedded powerpc board to test this.

Thanks


--
Lucas Tanure
+55 (19) 988176559


On Thu, Jul 24, 2014 at 12:43 PM, <Valdis.Kletnieks@vt.edu> wrote:

> On Thu, 24 Jul 2014 14:19:37 +0200, Kristof Provost said:
> > On 2014-07-24 09:00:22 (-0300), Lucas Tanure <tanure@linux.com> wrote:
> > > Line 2 of arch/arch/powerpc/boot/io.h :
> > >
> > >  1  #ifndef _IO_H
> > >  2  #define __IO_H
> > >  3
> > >  4  #include "types.h"
> > >
> > > Should be _IO_H, not __IO_H. I'm right ?
> > >
> > That certainly looks wrong. It's also been wrong since October 2006, so
> > it's probably not actually causing problems.
>
> On the other hand, it would probably be a *really* good idea to test
> compile
> it on a powerpc box, see if it shakes out any latent bugs.  All that fixing
> this will do is stop us from over-including io.h (and thus types.h) - but
> if
> there's any code that breaks because we don't include types.h and they
> don't
> pick it up otherwise.....
>
> (In other words, it's probably not causing a problem, but it *could*
> potentially
> be papering over a problem elsewhere...)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140724/e8ccfb1e/attachment.html 

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

end of thread, other threads:[~2014-07-24 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-24 12:00 [PowerPC] - Define error in arch/arch/powerpc/boot/io.h ?? Lucas Tanure
2014-07-24 12:18 ` Denis Kirjanov
2014-07-24 12:19 ` Kristof Provost
2014-07-24 15:43   ` Valdis.Kletnieks at vt.edu
2014-07-24 15:58     ` Lucas Tanure

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