[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141016132155.GC3480@saruman>
Date: Thu, 16 Oct 2014 08:21:55 -0500
From: Felipe Balbi <balbi@...com>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
CC: Paul Zimmerman <paulz@...opsys.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/2] usb: dwc2: gadget: sparse warning of context
imbalance
HI,
On Thu, Oct 16, 2014 at 01:11:10PM +0530, Sudip Mukherjee wrote:
> sparse was giving the following warning:
> warning: context imbalance in 's3c_hsotg_ep_enable'
> - different lock contexts for basic block
>
> we were returning ENOMEM while still holding the spinlock.
> The sparse warning was fixed by releasing the spinlock before return.
>
> This patch depends on the previous patch of the series.
>
> Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>
this should be patch one so it can be backported to stable kernels.
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists