Re: [GIT PULL] Staging/IIO driver fixes for 4.12-rc1

From: Greg KH
Date: Sat May 06 2017 - 10:46:29 EST


On Sun, May 07, 2017 at 12:21:17AM +1000, Ian W MORRISON wrote:
>
> On 5/6/17 11:41 PM, Greg KH wrote:
> > On Sat, May 06, 2017 at 06:00:24PM +1000, Ian W MORRISON wrote:
> > > The kernel when booted with Ubuntu 17.04 results in an unusable system
> > > however with the following patch booting is successful and the system
> > > is usable. The patch and kernel builds have been tested against on an
> > > Intel Compute Stick (STCK1A32WFC model).
> > It's in my queue to get to after 4.12-rc1 is out, it's not lost.
> >
> > > <snip>
> > The patch is whitespace dammaged and can not be applied :(
> >
> > thanks,
> >
> > greg k-h
>
> Here it is from a different email client. Hopefully preserving the
> whitespaces.
>
> From: Ian W Morrison <linuxium@xxxxxxxxxxxxxxx>
> Date: Fri, 28 Apr 2017 02:20:38 +1000
> Subject: [PATCH] staging: rtl8723bs: remove a call to kfree in
> os_dep/ioctl_cfg80211.c
>
> Signed-off-by: Ian W Morrison <linuxium@xxxxxxxxxxxxxxx>
> ---
> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
> b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
> index f17f4fb..2ee9df5 100644
> --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
> +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
> @@ -3527,7 +3527,6 @@ int rtw_wdev_alloc(struct adapter *padapter, struct
> device *dev)
> pwdev_priv->power_mgmt = true;
> else
> pwdev_priv->power_mgmt = false;
> - kfree((u8 *)wdev);
>
> return ret;
>

Still corrupted.

Let me go look at your original patch, we can take the thread there, as
this subject doesn't make sense :)

thanks,

greg k-h