Re: [PATCH v2] staging: unisys: use common return path

2016-02-09 Thread Sudip Mukherjee
On Mon, Feb 08, 2016 at 10:46:57PM +0530, Sudip Mukherjee wrote: > On Sun, Feb 07, 2016 at 02:04:21PM -0800, Greg Kroah-Hartman wrote: > > On Tue, Dec 01, 2015 at 04:22:33PM +0530, Sudip Mukherjee wrote: > > > The success path and the error path both are first doing > > > spin_unlock_irqrestore()

Re: [PATCH v2] staging: unisys: use common return path

2016-02-08 Thread Sudip Mukherjee
On Sun, Feb 07, 2016 at 02:04:21PM -0800, Greg Kroah-Hartman wrote: > On Tue, Dec 01, 2015 at 04:22:33PM +0530, Sudip Mukherjee wrote: > > The success path and the error path both are first doing > > spin_unlock_irqrestore() before returning. Use that in the common path > > and return the

Re: [PATCH v2] staging: unisys: use common return path

2016-02-07 Thread Greg Kroah-Hartman
On Tue, Dec 01, 2015 at 04:22:33PM +0530, Sudip Mukherjee wrote: > The success path and the error path both are first doing > spin_unlock_irqrestore() before returning. Use that in the common path > and return the success/error value. > > Signed-off-by: Sudip Mukherjee >

[PATCH v2] staging: unisys: use common return path

2015-12-01 Thread Sudip Mukherjee
The success path and the error path both are first doing spin_unlock_irqrestore() before returning. Use that in the common path and return the success/error value. Signed-off-by: Sudip Mukherjee --- v2: changed label name It is dependent on the patch series sent by