netdev
[Top] [All Lists]

Re: [PATCH 2/3] add open iscsi netlink interface to iscsi transport clas

To: yoshfuji@xxxxxxxxxxxxxx (YOSHIFUJI Hideaki / ????)
Subject: Re: [PATCH 2/3] add open iscsi netlink interface to iscsi transport class
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 05 May 2005 21:39:47 +1000
Cc: michaelc@xxxxxxxxxxx, linux-scsi@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx
In-reply-to: <20050505.185503.78606493.yoshfuji@linux-ipv6.org>
Organization: Core
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.27-hx-1-686-smp (i686))
YOSHIFUJI Hideaki / ???? <yoshfuji@xxxxxxxxxxxxxx> wrote:
> In article <42798AC1.2010308@xxxxxxxxxxx> (at Wed, 04 May 2005 19:53:53 
> -0700), Mike Christie <michaelc@xxxxxxxxxxx> says:
> 
>> +struct iscsi_uevent {
> :
>> +} __attribute__ ((aligned (sizeof(unsigned long))));
> 
> I think it'd be better to use sizeof(uint64_t) or something.

Is there a benefit in aligning on 64-bit boundaries for 32-bit platforms?

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

<Prev in Thread] Current Thread [Next in Thread>