Messages in this thread | | | Date | Thu, 1 Aug 2019 12:40:37 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH 08/12] printk: Replace strncmp with str_has_prefix |
| |
On Thu, 01 Aug 2019 09:19:04 -0700 Joe Perches <joe@perches.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
| |