Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1496580

Re: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with workqueue for host interface"

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with workqueue for host interface"
Date 2016-10-06 12:40 +0200
Message-ID <spefL-7nn-5@gated-at.bofh.it> (permalink)
References <sn62Z-2jW-15@gated-at.bofh.it> <sn62Z-2jW-13@gated-at.bofh.it> <spdD4-6OZ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Oct 06, 2016 at 03:26:59PM +0530, Aditya Shankar wrote:
> On Fri, 30 Sep 2016 15:22:15 +0200
> Greg KH <gregkh@linuxfoundation.org> wrote:
> 
> > On Fri, Sep 30, 2016 at 03:43:18PM +0530, Aditya Shankar wrote:
> > > This reverts commit 2518ac59eb27 ("staging: wilc1000: Replace kthread
> > > with workqueue for host interface")
> > > 
> > > This commit breaks wilc1000 driver init. A crash was seen
> > > everytime the wlan interface was brought up and wilc device
> > > open was attempted. This change is being reverted until we
> > > figure out the problem in this change. The driver is
> > > usable now with this change reverted.
> > > 
> > > Signed-off-by: Aditya Shankar <Aditya.Shankar@microchip.com>
> > > 
> > > Conflicts:
> > > 	drivers/staging/wilc1000/host_interface.c
> > 
> > What is this line doing here?
> > 
> > And shouldn't we add a cc: stable tag as well?  Or at the least, put a
> > "fixes:" tag to let people know exactly what commit it is fixing (the
> > id that it is reverting.)
> > 
> > thanks,
> > 
> > greg k-h
> 
> Apologies for this bad commit message.
> 
> I have an update on this wilc1000 crash issue. I've figured out
> the cause for the crash and fixed it. Therefore,
> I request you to ignore the patch I sent out to
> revert the change causing the regression. The cause was a misplaced
> call to destroy workqueue soon after creating it.
> With this removed, the issue is not seen.
> 
> I will send out a separate patch to fix the issue.

Wonderful, thanks for doing that, I'll drop these and use your fix when
you send it.

greg k-h

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with  workqueue for host interface" Greg KH <gregkh@linuxfoundation.org> - 2016-09-30 15:30 +0200
  Re: [PATCH 2/2] Revert  "staging: wilc1000: Replace kthread with workqueue for host interface" Aditya Shankar <aditya.shankar@microchip.com> - 2016-10-06 12:00 +0200
    Re: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with  workqueue for host interface" Greg KH <gregkh@linuxfoundation.org> - 2016-10-06 12:40 +0200

csiph-web