* Linux header change breaks linux-atm userspace build
@ 2007-02-08 21:31 Andrew Walrond
2007-02-09 0:01 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Walrond @ 2007-02-08 21:31 UTC (permalink / raw)
To: linux-kernel
Sometime between 2.6.18.3 and 2.6.20, this change...
--- /include/linux/atmarp.h 2007-01-10 16:32:05.000000000 +0000
+++ pkg/linux/include/linux/atmarp.h 2007-02-08 20:02:08.000000000 +0000
@@ -34,7 +34,7 @@
struct atmarp_ctrl {
enum atmarp_ctrl_type type; /* message type */
int itf_num;/* interface number (if present) */
- uint32_t ip; /* IP address (act_need only) */
+ __be32 ip; /* IP address (act_need only) */
};
#endif
was introduced, but __be32 is undefined, so atmarp.h should include
linux/types.h
I've cc'ed Adrian Bunk since he seemed interested last time I reported
something like this.
http://lkml.org/lkml/2007/1/19/39
Hope that is useful.
Andrew Walrond
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux header change breaks linux-atm userspace build
2007-02-08 21:31 Linux header change breaks linux-atm userspace build Andrew Walrond
@ 2007-02-09 0:01 ` David Miller
2007-02-09 7:55 ` Andrew Walrond
0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2007-02-09 0:01 UTC (permalink / raw)
To: andrew; +Cc: linux-kernel
From: Andrew Walrond <andrew@walrond.org>
Date: Thu, 8 Feb 2007 21:31:25 +0000
> Sometime between 2.6.18.3 and 2.6.20, this change...
>
> --- /include/linux/atmarp.h 2007-01-10 16:32:05.000000000 +0000
> +++ pkg/linux/include/linux/atmarp.h 2007-02-08 20:02:08.000000000 +0000
> @@ -34,7 +34,7 @@
> struct atmarp_ctrl {
> enum atmarp_ctrl_type type; /* message type */
> int itf_num;/* interface number (if present) */
> - uint32_t ip; /* IP address (act_need only) */
> + __be32 ip; /* IP address (act_need only) */
> };
>
> #endif
>
> was introduced, but __be32 is undefined, so atmarp.h should include
> linux/types.h
I'll fix this, thanks for reporting.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux header change breaks linux-atm userspace build
2007-02-09 0:01 ` David Miller
@ 2007-02-09 7:55 ` Andrew Walrond
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Walrond @ 2007-02-09 7:55 UTC (permalink / raw)
To: David Miller; +Cc: linux-kernel
On Friday 09 February 2007 00:01, David Miller wrote:
> From: Andrew Walrond <andrew@walrond.org>
> Date: Thu, 8 Feb 2007 21:31:25 +0000
>
> > Sometime between 2.6.18.3 and 2.6.20, this change...
> >
> > --- /include/linux/atmarp.h 2007-01-10 16:32:05.000000000 +0000
> > +++ pkg/linux/include/linux/atmarp.h 2007-02-08 20:02:08.000000000
> > +0000 @@ -34,7 +34,7 @@
> > struct atmarp_ctrl {
> > enum atmarp_ctrl_type type; /* message type */
> > int itf_num;/* interface number (if present)
> > */ - uint32_t ip; /* IP address (act_need only)
> > */ + __be32 ip; /* IP address (act_need only)
> > */ };
> >
> > #endif
> >
> > was introduced, but __be32 is undefined, so atmarp.h should include
> > linux/types.h
>
> I'll fix this, thanks for reporting.
Actually, it seems that several other atm headers are also missing
linux/types.h. I guess you can tell which ones have changed recently using
git (I just patched linux-atm with liberal #include <linux/types.h>). But let
me know if you want a full list.
Andrew Walrond
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-09 7:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-08 21:31 Linux header change breaks linux-atm userspace build Andrew Walrond
2007-02-09 0:01 ` David Miller
2007-02-09 7:55 ` Andrew Walrond
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.