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

2016-01-04 Thread Pan Xinhui
Hi, Alan thanks for your reply :) On 2015/12/18 21:17, xinhui wrote: hi, Alan this is xinhui. My eyes got badly hurt, and i am ooo this whole week and next coming week. sorry for late responce. I just review the codes in my mind. gsm ioctl callback might change gsm->num, so you are ri

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

2015-12-14 Thread One Thousand Gnomes
On Mon, 14 Dec 2015 15:08:03 +0800 Pan Xinhui wrote: > From: Pan Xinhui > > 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 > --- > drivers/

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

2015-12-13 Thread Pan Xinhui
From: Pan Xinhui 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 --- drivers/tty/n_gsm.c | 14 +- 1 files changed, 5 insertions(+), 9 de