Re: [PATCH] Staging: rtl8192e: Casting correct Endianness

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

 



On Tue, May 12, 2015 at 08:41:05AM +0000, Dan Carpenter wrote:
> On Tue, May 12, 2015 at 07:38:48AM +0000, DHANAPAL, GNANACHANDRAN (G.) wrote:
> > @@ -2235,7 +2235,7 @@ inline int rtllib_rx_assoc_resp(struct rtllib_device *ieee, struct sk_buff *skb,
> >  	struct rtllib_hdr_3addr *header = (struct rtllib_hdr_3addr *) skb->data;
> >  
> >  	RTLLIB_DEBUG_MGMT("received [RE]ASSOCIATION RESPONSE (%d)\n",
> > -			  WLAN_FC_GET_STYPE(header->frame_ctl));
> > +			  WLAN_FC_GET_STYPE((le16_to_cpu)header->frame_ctl));
> 
> Does this even compile?
> 
> regards,
> dan carpenter
> 

Apologies, I had built the kernel in another branch in which these 
changes were not present.Hence the module got built without any errors.
I will be sending v2 of this patch after having it built without any
error or warning and reviewed internally.

Cheers
Gnana
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-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