On Thu, 01 Aug 2019 09:19:04 -0700
Joe Perches <[email protected]> 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

Reply via email to