[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160207072947.GA1214@kroah.com>
Date: Sat, 6 Feb 2016 23:29:47 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Pan Xinhui <xinhui@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org, Jiri Slaby <jslaby@...e.com>,
mnipxh@....com, yanmin_zhang@...ux.intel.com, alan@...ux.intel.com
Subject: Re: [PATCH V2] tty/n_gsm.c: use gsm->num to remove mux itself from
gsm_mux[]
On Tue, Jan 05, 2016 at 03:42:52PM +0800, Pan Xinhui wrote:
> From: Pan Xinhui <xinhui.pan@...ux.vnet.ibm.com>
>
> There is one filed gsm->num to store mux's index of gsm_mux[]. So use
> gsm->num to remove itself from gsm_mux[] instead of the for-loop
> traverse in gsm_cleanup_mux().
>
> Signed-off-by: Pan Xinhui <xinhui.pan@...ux.vnet.ibm.com>
> Reviewed-by: Alan Cox <alan@...ux.intel.com>
> ---
> change from V1:
> lock is also held for the if()
> ---
> drivers/tty/n_gsm.c | 13 +++++--------
> 1 file changed, 5 insertions(+), 8 deletions(-)
Doesn't apply to my tty-next branch of the tty.git tree :(
Powered by blists - more mailing lists