[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190801124037.11dcac71@gandalf.local.home>
Date: Thu, 1 Aug 2019 12:40:37 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Joe Perches <joe@...ches.com>
Cc: Chuhong Yuan <hslester96@...il.com>,
Petr Mladek <pmladek@...e.com>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 08/12] printk: Replace strncmp with str_has_prefix
On Thu, 01 Aug 2019 09:19:04 -0700
Joe Perches <joe@...ches.com> wrote:
> > I find that checkpatch.pl forbids assignment in if condition.
> > So this seems to be infeasible...
>
> checkpatch is a stupid script and doesn't forbid
> anything. It's just a suggestion guide.
>
> Ignore checkpatch when you know better.
And this is coming from the checkpatch.pl maintainer ;-)
-- Steve
Powered by blists - more mailing lists