Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1323312

RE: [PATCH 3/4] netfilter: ipv4: use preferred kernel types

From David Laight <David.Laight@ACULAB.COM>
Newsgroups linux.kernel
Subject RE: [PATCH 3/4] netfilter: ipv4: use preferred kernel types
Date 2016-02-01 17:50 +0100
Message-ID <qXpPR-5F8-27@gated-at.bofh.it> (permalink)
References <qWDBw-3n9-23@gated-at.bofh.it> <qWDBw-3n9-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Lucas Tanure
> Sent: 30 January 2016 13:18
> As suggested by checkpatch.pl:
> CHECK: Prefer kernel type 'uX' over 'uintX_t'

One might ask why?
The kernel types are older, but the uintX_t ones are now part
of the C standard.

Writing header files (eg for ioctl buffers) that have to be
parsed by both userspace and kernel is a PITA unless the uintX_t
forms are used - at which point you have inconsistent names
in the same file.

At some point someone might decide that the uintX_t types are
preferred (as NetBSD did a few years ago) - so these changes
would get reverted.

	David

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/4] netfilter: ipv4: use preferred kernel types Lucas Tanure <tanure@linux.com> - 2016-01-30 14:20 +0100
  Re: [PATCH 3/4] netfilter: ipv4: use preferred kernel types Patrick McHardy <kaber@trash.net> - 2016-01-30 14:50 +0100
    Re: [PATCH 3/4] netfilter: ipv4: use preferred kernel types Lucas Tanure <tanure@linux.com> - 2016-01-30 15:10 +0100
      Re: [PATCH 3/4] netfilter: ipv4: use preferred kernel types Joe Perches <joe@perches.com> - 2016-01-30 18:30 +0100
      Re: [PATCH 3/4] netfilter: ipv4: use preferred kernel types Eric Dumazet <eric.dumazet@gmail.com> - 2016-01-30 19:00 +0100
        Re: [PATCH 3/4] netfilter: ipv4: use preferred kernel types Joe Perches <joe@perches.com> - 2016-01-30 19:30 +0100
          Re: [PATCH 3/4] netfilter: ipv4: use preferred kernel types Lucas Tanure <tanure@linux.com> - 2016-01-30 19:50 +0100
  RE: [PATCH 3/4] netfilter: ipv4: use preferred kernel types David Laight <David.Laight@ACULAB.COM> - 2016-02-01 17:50 +0100
    Re: [PATCH 3/4] netfilter: ipv4: use preferred kernel types David Miller <davem@davemloft.net> - 2016-02-01 20:50 +0100
      Re: [PATCH 3/4] netfilter: ipv4: use preferred kernel types Tom Herbert <tom@herbertland.com> - 2016-02-01 21:10 +0100

csiph-web