Re: [PATCH net-next] ppp: Destroy the mutex when cleanup

2017-11-01 Thread David Miller
From: gfree.w...@vip.163.com Date: Tue, 31 Oct 2017 18:25:37 +0800 > From: Gao Feng > > The mutex_destroy only makes sense when enable DEBUG_MUTEX. For the > good readbility, it's better to invoke it in exit func when the init > func invokes mutex_init. > > Signed-off-by: Gao Feng Applied.

Re: [PATCH net-next] ppp: Destroy the mutex when cleanup

2017-10-31 Thread Guillaume Nault
On Tue, Oct 31, 2017 at 06:25:37PM +0800, gfree.w...@vip.163.com wrote: > From: Gao Feng > > The mutex_destroy only makes sense when enable DEBUG_MUTEX. For the > good readbility, it's better to invoke it in exit func when the init > func invokes mutex_init. > > Signed-off-by: Gao Feng > --- >

[PATCH net-next] ppp: Destroy the mutex when cleanup

2017-10-31 Thread gfree . wind
From: Gao Feng The mutex_destroy only makes sense when enable DEBUG_MUTEX. For the good readbility, it's better to invoke it in exit func when the init func invokes mutex_init. Signed-off-by: Gao Feng --- drivers/net/ppp/ppp_generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers