On Wed, Mar 07, 2012 at 10:54:17PM +0530, santosh prasad nayak wrote: > static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, void *piomb) > { > - u32 pHeader = (u32)*(u32 *)piomb; > - u8 opc = (u8)(pHeader & 0xFFF); > + __le32 pHeader = (__le32)*(__le32 *)piomb; ^^^^^^^^ You could drop this cast, "*(__le32 *)piomb" is already an __le32 data type. regards, dan carpenter
Attachment:
signature.asc
Description: Digital signature