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

Jonathan Neuschäfer j.neuschaefer at gmx.net
Thu Mar 3 03:32:25 PST 2011


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


More information about the devel mailing list