From: Anton Blanchard <anton@samba.org>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
LKML <linux-kernel@vger.kernel.org>,
"David S. Miller" <davem@redhat.com>,
ak@muc.de
Subject: Re: [PATCH] Beginnings of conpat 32 code cleanups
Date: Sat, 23 Nov 2002 16:16:28 +1100 [thread overview]
Message-ID: <20021123051628.GA3658@krispykreme> (raw)
In-Reply-To: <Pine.LNX.4.44.0211221141070.1440-100000@penguin.transmeta.com>
> You're doing a compat layer, and then you're using various undefined types
> that can be random sizes, and calling them xxx_t32.
>
> For christ sake, somebody is on drugs here.
Then it must be davem, Andi and I :) Stephen is just merging what we
already have.
> If they are called "xxx_t32", then that means that you _know_ the size
> already statically, and you should use "u32" or "s32" which are shorter
> and clearer anyway. You should sure as hell not use some random C type
> that can be different depending on compiler options etc, and then calling
> it a "compat" library.
_t32 == 32 bit version, its not the size. eg
asm-ia64/ia32.h: typedef unsigned short __kernel_ipc_pid_t32;
asm-mips64/posix_types.h: typedef int __kernel_ipc_pid_t32;
asm-parisc/posix_types.h: typedef unsigned short __kernel_ipc_pid_t32;
asm-ppc64/ppc32.h: typedef unsigned short __kernel_ipc_pid_t32;
asm-sparc64/posix_types.h: typedef unsigned short __kernel_ipc_pid_t32;
asm-x86_64/ia32.h: typedef unsigned short __kernel_ipc_pid_t32;
Or do you mean we should use typedef u16 __kernel_ipc_pid_t32? Yeah,
I can understand that.
Anton
next prev parent reply other threads:[~2002-11-23 5:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-22 5:23 [PATCH] Beginnings of conpat 32 code cleanups Stephen Rothwell
2002-11-22 19:47 ` Linus Torvalds
2002-11-22 19:54 ` Larry McVoy
2002-11-22 20:13 ` Cort Dougan
2002-11-22 20:38 ` H. Peter Anvin
2002-11-23 0:28 ` Stephen Rothwell
2002-11-25 19:48 ` Linus Torvalds
2002-11-23 5:16 ` Anton Blanchard [this message]
2002-11-25 20:00 ` Linus Torvalds
2002-11-26 13:53 ` Pavel Machek
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=20021123051628.GA3658@krispykreme \
--to=anton@samba.org \
--cc=ak@muc.de \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
--cc=torvalds@transmeta.com \
/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 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.