Re: [PATCH] printk: modify console_unlock with printk-safe macros

2017-07-17 Thread pierre kuo
hi Sergey and Andy: > On (07/15/17 18:36), Pierre Kuo wrote: > [..] >> diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c >> index fc47863..21557cc 100644 >> --- a/kernel/printk/printk.c >> +++ b/kernel/printk/printk.c >> @@ -2194,8 +2194,7 @@ void console_unlock(void) >>

Re: [PATCH] printk: modify console_unlock with printk-safe macros

2017-07-17 Thread Sergey Senozhatsky
On (07/15/17 18:36), Pierre Kuo wrote: [..] > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > index fc47863..21557cc 100644 > --- a/kernel/printk/printk.c > +++ b/kernel/printk/printk.c > @@ -2194,8 +2194,7 @@ void console_unlock(void) > size_t ext_len = 0; >

Re: [PATCH] printk: modify console_unlock with printk-safe macros

2017-07-15 Thread Andy Shevchenko
On Sat, Jul 15, 2017 at 1:36 PM, Pierre Kuo wrote: > In commit de6fcbdb68b2 ("printk: convert the rest to printk-safe"), we > create 4 helper macros to make printk-safe usage easier. > Here we modify some part of console_unlock with above marcros. >