lkml.org 
[lkml]   [2008]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] linux/atm_tcp.h: cleanup for userspace
Date
On Wednesday 23 April 2008, David Miller wrote:
> From: Mike Frysinger <vapier@gentoo.org>
> > On Wednesday 23 April 2008, David Miller wrote:
> > > From: Mike Frysinger <vapier@gentoo.org>
> > > > The atm_tcp.h uses types from linux/atm.h, but does not include it.
> > > > It should also use the standard __u## types from linux/types.h rather
> > > > than the uint##_t types since the former can be found with the kernel
> > > > already.
> > >
> > > I don't think this is a sufficient patch to solve these problems.
> >
> > it is sufficient for atm_tcp.h only. many of the network headers are
> > broken for userspace inclusion, so i've just been posting them one at a
> > time as last time i posted a large patch, no one picked it up.
>
> But you're adding an include of another file that has the problem
> you're supposedly fixing.

and i'll send out fixes for that file in time.

> If using uintN_t types is the problem, you're adding a new one for
> applications that include linux/atm_tcp.h, because now they'll
> get linux/atm.h as a side effect which does it too.

any applications that use linux/atm_tcp.h are already including linux/atm.h,
and already including stdint.h (or whatever indirectly to get uintN_t types).
nothing new is broken, but eventually things will be all fixed.
-mike
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-04-24 05:35    [W:0.032 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site