Re: [PATCH 1/3] mm: replace S_IRUGO with 0444

From: Joe Perches
Date: Sat Apr 07 2018 - 16:11:32 EST


On Sat, 2018-04-07 at 19:47 +0100, Paul McQuade wrote:
> Fix checkpatch warnings about S_IRUGO being less readable than
> providing the permissions octal as '0444'.

Hey Paul.

I sent a cleanup a couple weeks ago to Andrew Morton for the
same thing.

https://lkml.org/lkml/2018/3/26/638

Andrew said he'd wait until after -rc1 is out.

btw: checkpatch can do this substitution automatically

cheers, Joe