lkml.org 
[lkml]   [2017]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: spidev: Adjust five checks for null pointers
On Thu, May 18, 2017 at 04:34:45PM +0200, SF Markus Elfring wrote:

> >> The script “checkpatch.pl” pointed information out like the following.

> >> Comparison to NULL could be written !…

> >> Thus fix the affected source code places.

> > This changelog does not describe any purpose in making this change,
> > we could equally well say the exact opposite. Why should we do this?

> How do you think about to reduce the usage of the preprocessor symbol “NULL”?

Why would that matter?

> Can it help if the source code is a little bit shorter after the
> proposed adjustment?

Not really - clarity is important but the size of code isn't too
meaningful in and of itself.

Please if you don't really understand what you're sending try to
understand it first, don't throw things out without that. I know a
number of other maintainers have already raised concerns about the
quality of what's being sent and the effort required to review them in
relation to their value. There's nothing wrong with doing small
cleanups but if that's all you're sending and there's often problems
then it becomes more trouble than it's worth to review your changes.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-05-22 14:34    [W:0.278 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site