lkml.org 
[lkml]   [2019]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2019-08-01 18:41    [W:0.047 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site