RE: [PATCH] aacraid: regression fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



But then we are requested to byteswap the 1's constant ... ;-}

Sincerely -- Mark Salyzyn

-----Original Message-----
From: Christoph Hellwig [mailto:hch@xxxxxxxxxxxxx] 
Sent: Friday, June 17, 2005 7:21 AM
To: Mark Haverkamp
Cc: James Bottomley; Salyzyn, Mark; linux-scsi
Subject: Re: [PATCH] aacraid: regression fix

On Wed, Jun 15, 2005 at 09:36:46AM -0700, Mark Haverkamp wrote:
> -		kfib->header.XferState = 0;
> +		kfib->header.XferState = cpu_to_le32(0);

you never need to byte-swap the 0 constant.

-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux