Re: [PATCH 2/2] staging: keucr: use kernel byteorder functions

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

 



On Thu, Mar 03, 2011 at 07:58:59AM +0000, Jack Stone wrote:
> >  
> > -			us->MS_Lib.BytesPerSector = LittleEndianWORD(idi->wIDIbytesPerSector);
> > +			us->MS_Lib.BytesPerSector = be16_to_cpu(idi->wIDIbytesPerSector);
> 
> Shouldn't this be le16_to_cpu?

Right. Thanks for pointing out.

Jonathan NeuschÃfer
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux