On Mon, Jul 27, 2015 at 09:41:10PM -0700, Joshua Clayton wrote:
> r8712_get_ndis_wlan_bssid_ex_sz has a "6 * sizeof(unsigned long)"
> where the underlying struct has a 6 * unsigned char.
> Simplify the calculation by just subtracting the variable part from
> the size of the struct.
> 
> This also gets rid of a use of typedef NDIS_802_11_RATES_EX
> 
> Signed-off-by: Joshua Clayton <[email protected]>
> ---
<snip>
>  
>  u8 *r8712_get_capability_from_ie(u8 *ie)
> -- 
> 2.4.6
> 
> From: Joshua Clayton <[email protected]>
> To: Larry Finger <[email protected]>,
>       Florian Schilhabel <[email protected]>,
>       Greg Kroah-Hartman <[email protected]>,
>       Sudip Mukherjee <[email protected]>,
>       Nitin Kuppelur <[email protected]>,
>       Joshua Clayton <[email protected]>,
>       Vaishali Thakkar <[email protected]>,
>       Tapasweni Pathak <[email protected]>,
>       Daniel Baluta <[email protected]>,
>       Melike Yurtoglu <[email protected]>,
>       Max Perepelitsyn <[email protected]>,
>       Aya Mahfouz <[email protected]>,
>       Cristina Opriceana <[email protected]>,
>       Dogukan Ergun <[email protected]>,
>       Julia Lawall <[email protected]>,
>       Dan Carpenter <[email protected]>,
>       Haneen Mohammed <[email protected]>,
>       Rickard Strandqvist <[email protected]>
> Cc: [email protected],
>       [email protected]
> Subject: [PATCH V3 1/8] staging: rtl8712: fix buggy size calculation
> Date: Mon, 27 Jul 2015 21:41:10 -0700
> Message-Id: 
> <305999598d7738feabdc8e5df5400b3e7be7f5ed.1438057939.git.stillcompil...@gmail.com>
> X-Mailer: git-send-email 2.4.6
> In-Reply-To: <[email protected]>
> References: <[email protected]>
> In-Reply-To: <[email protected]>
> References: <[email protected]>

Something is wrong. The same patch is getting repeated in the same mail
multiple times. I deleted almost 2500 lines after this before sending
this reply. See how your patch is looking like:
http://www.gossamer-threads.com/lists/linux/kernel/2224869

regards
sudip

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to