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


Groups > linux.kernel > #1473517 > unrolled thread

Re: [PATCH V2 RESEND] tty/n_gsm.c: use gsm->num to remove mux itself from gsm_mux[]

Started byGreg KH <gregkh@linuxfoundation.org>
First post2016-08-31 16:10 +0200
Last post2016-08-31 16:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH V2 RESEND] tty/n_gsm.c: use gsm->num to remove mux itself  from gsm_mux[] Greg KH <gregkh@linuxfoundation.org> - 2016-08-31 16:10 +0200

#1473517 — Re: [PATCH V2 RESEND] tty/n_gsm.c: use gsm->num to remove mux itself from gsm_mux[]

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-08-31 16:10 +0200
SubjectRe: [PATCH V2 RESEND] tty/n_gsm.c: use gsm->num to remove mux itself from gsm_mux[]
Message-ID<sceng-3nc-37@gated-at.bofh.it>
On Thu, Jul 14, 2016 at 04:37:51PM +0800, xinhui wrote:
> From: Pan Xinhui <xinhui.pan@linux.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@linux.vnet.ibm.com>
> Reviewed-by: Alan Cox <alan@linux.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 tree :(

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web