All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: "David S. Miller" <davem@redhat.com>
Cc: axboe@suse.de, linux-kernel@vger.kernel.org
Subject: Re: block layer sg, bsg
Date: Wed, 04 Aug 2004 19:28:04 +0200	[thread overview]
Message-ID: <m33c32ke3f.fsf@averell.firstfloor.org> (raw)
In-Reply-To: <2pwbQ-68b-43@gated-at.bofh.it> (David S. Miller's message of "Wed, 04 Aug 2004 17:50:14 +0200")

"David S. Miller" <davem@redhat.com> writes:
>
> Or use a more portable well-defined type which does not change
> size nor layout between 32-bit and 64-bit environments.

That is usually a mistake. People get the more subtle issues
like long long handling wrong, and then it is impossible to fix it 
anymore in a compat layer (examples are ipsec and iptables, which
cannot be emulated on x86-64 because of that) 

So please never pass any structures with read/write/netlink.

Thank you.

-Andi


       reply	other threads:[~2004-08-04 17:28 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2ppN4-1wi-11@gated-at.bofh.it>
     [not found] ` <2pvps-5xO-33@gated-at.bofh.it>
     [not found]   ` <2pvz2-5Lf-19@gated-at.bofh.it>
     [not found]     ` <2pwbQ-68b-43@gated-at.bofh.it>
2004-08-04 17:28       ` Andi Kleen [this message]
2004-08-04 17:31         ` block layer sg, bsg Jens Axboe
2004-08-04 19:18         ` Jeff Garzik
2004-08-04 19:22           ` David S. Miller
2004-08-04 23:21             ` Andi Kleen
2004-08-04 23:26               ` David S. Miller
2004-08-04 23:51               ` YOSHIFUJI Hideaki / 吉藤英明
2004-08-05  3:58                 ` David S. Miller
2004-08-06  7:03                   ` Daniel Phillips
2004-08-06 15:04                     ` Andi Kleen
2004-08-08 19:18                       ` Daniel Phillips
2004-08-05 11:49                 ` Andi Kleen
2004-08-06  3:46                   ` YOSHIFUJI Hideaki / 吉藤英明
2004-08-06  4:19                     ` David S. Miller
2004-08-06 13:20                       ` Andi Kleen
2004-08-06 18:28                         ` David S. Miller
2004-08-06 11:04                     ` Andi Kleen
2004-08-04  8:50 Jens Axboe
2004-08-04 14:52 ` David S. Miller
2004-08-04 15:04   ` Jens Axboe
2004-08-04 15:44     ` David S. Miller
2004-08-04 15:48       ` Jens Axboe
2004-08-04 15:56       ` Jeff Garzik
2004-08-04 15:58         ` Jens Axboe
2004-08-04 23:11           ` Douglas Gilbert

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=m33c32ke3f.fsf@averell.firstfloor.org \
    --to=ak@muc.de \
    --cc=axboe@suse.de \
    --cc=davem@redhat.com \
    --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 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.