mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: David Miller <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH] linux/atm_tcp.h: cleanup for userspace
Date: Wed, 23 Apr 2008 23:33:10 -0400	[thread overview]
Message-ID: <200804232333.10968.vapier@gentoo.org> (raw)
In-Reply-To: <20080423.201844.167236025.davem@davemloft.net>

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

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

  reply	other threads:[~2008-04-24  3:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-20  3:22 Mike Frysinger
2008-04-24  2:24 ` David Miller
2008-04-24  3:03   ` Mike Frysinger
2008-04-24  3:18     ` David Miller
2008-04-24  3:33       ` Mike Frysinger [this message]
2008-04-24  4:23         ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804232333.10968.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®