[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3309030.zsCfj96v3x@diplodocus>
Date: Tue, 28 Jul 2015 05:27:41 -0700
From: Joshua Clayton <stillcompiling@...il.com>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: Larry Finger <Larry.Finger@...inger.net>,
Florian Schilhabel <florian.c.schilhabel@...glemail.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Nitin Kuppelur <nitinkuppelur@...il.com>,
Vaishali Thakkar <vthakkar1994@...il.com>,
Tapasweni Pathak <tapaswenipathak@...il.com>,
Daniel Baluta <daniel.baluta@...el.com>,
Melike Yurtoglu <aysemelikeyurtoglu@...il.com>,
Max Perepelitsyn <mperepelitsyn@...il.com>,
Aya Mahfouz <mahfouz.saif.elyazal@...il.com>,
Cristina Opriceana <cristina.opriceana@...il.com>,
Dogukan Ergun <dogukan.ergun@...il.com>,
Julia Lawall <Julia.Lawall@...6.fr>,
Dan Carpenter <dan.carpenter@...cle.com>,
Haneen Mohammed <hamohammed.sa@...il.com>,
Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V3 1/8] staging: rtl8712: fix buggy size calculation
On Tuesday, July 28, 2015 05:16:56 PM Sudip Mukherjee wrote:
> 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 <stillcompiling@...il.com>
> > ---
> <snip>
> >
> > u8 *r8712_get_capability_from_ie(u8 *ie)
>
> 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
>
Oh No!
I made a tweak to git-send-email to try to get past the problem with perl 5.22
That was causing git-send-email to crash.
The whole series, including the cover letter is like this.
I will resubmit when I have fixed this problem.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists