On Thu 2019-08-15 16:50:33, Sergey Senozhatsky wrote:
> On (08/14/19 12:49), Petr Mladek wrote:
> > On Fri 2019-08-09 15:10:34, Chuhong Yuan wrote:
> > > strncmp(str, const, len) is error-prone because len
> > > is easy to have typo.
> > > The example is the hard-coded len has counting error
> > > or sizeof(const) forgets - 1.
> > > So we prefer using newly introduced str_has_prefix()
> > > to substitute such strncmp to make code better.
> > > 
> > > Signed-off-by: Chuhong Yuan <hsleste...@gmail.com>
> > 
> > Reviewed-by: Petr Mladek <pmla...@suse.com>
> 
> Reviewed-by:  Sergey Senozhatsky <sergey.senozhat...@gmail.com>

Chuong Yuan, should I take this patch via printk.git? Or will
the entire series go via some other tree, please?

Best Regards,
Petr

Reply via email to