From: "G\\351raud Krawezik" <gk@scali.no>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Alignment possible hazard
Date: Fri, 11 Aug 2000 12:05:20 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590678205317@msgid-missing> (raw)
In the kernels >=2.3, a new function as appeared for drivers,
static int ssci_read_proc(char *page, char **start, off_t off, int count,
int *eof, void *data)
What I noticed is that we' ve got the following arguments:
64 bits, 64 b, 64b, 32b, 64b, 64b
(in the LP64 model)
Isn't this quite hazardous, especially for programs running at the kernel
level? Wouldn't it be better to put the int at the end of the arguments in
order to have something aligned correctly? (at least such things crash
easiely on solaris-sparc)
Geraud.
next reply other threads:[~2000-08-11 12:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-11 12:05 G\351raud Krawezik [this message]
2000-08-11 12:19 ` [Linux-ia64] Alignment possible hazard Keith Owens
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=marc-linux-ia64-105590678205317@msgid-missing \
--to=gk@scali.no \
--cc=linux-ia64@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