Re: [PATCH v7 07/18] printk: Introduce kmsg_dump_reason_str()

2020-05-12 Thread Sergey Senozhatsky
On (20/05/10 13:24), Kees Cook wrote: > The pstore subsystem already had a private version of this function. > With the coming addition of the pstore/zone driver, this needs to be > shared. As it really should live with printk, move it there instead. Acked-by: Sergey Senozhatsky -ss

Re: [PATCH v7 07/18] printk: Introduce kmsg_dump_reason_str()

2020-05-12 Thread Kees Cook
On Tue, May 12, 2020 at 10:44:42AM +0200, Petr Mladek wrote: > On Sun 2020-05-10 13:24:25, Kees Cook wrote: > > The pstore subsystem already had a private version of this function. > > With the coming addition of the pstore/zone driver, this needs to be > > shared. As it really should live with

Re: [PATCH v7 07/18] printk: Introduce kmsg_dump_reason_str()

2020-05-12 Thread Petr Mladek
On Sun 2020-05-10 13:24:25, Kees Cook wrote: > The pstore subsystem already had a private version of this function. > With the coming addition of the pstore/zone driver, this needs to be > shared. As it really should live with printk, move it there instead. > > Signed-off-by: Kees Cook I looked

[PATCH v7 07/18] printk: Introduce kmsg_dump_reason_str()

2020-05-10 Thread Kees Cook
The pstore subsystem already had a private version of this function. With the coming addition of the pstore/zone driver, this needs to be shared. As it really should live with printk, move it there instead. Signed-off-by: Kees Cook --- fs/pstore/platform.c | 22 +-