Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1454817

Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with macro

From Randy Dunlap <rdunlap@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with macro
Date 2016-08-02 17:50 +0200
Message-ID <s1K78-6pf-31@gated-at.bofh.it> (permalink)
References <s1HiW-4uK-29@gated-at.bofh.it> <s1J1p-5FG-55@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/02/16 05:51, Mauro Carvalho Chehab wrote:
> Em Tue,  2 Aug 2016 20:01:34 +0800
> Baole Ni <baolex.ni@intel.com> escreveu:
> 
>> I find that the developers often just specified the numeric value
>> when calling a macro which is defined with a parameter for access permission.
>> As we know, these numeric value for access permission have had the corresponding macro,
>> and that using macro can improve the robustness and readability of the code,
>> thus, I suggest replacing the numeric parameter with the macro.
> 
> Gah!
> 
> A patch series with 1285 patches with identical subject!
> 
> Please don't ever do something like that. My inbox is not trash!
> 
> Instead, please group the changes per subsystem, and use different
> names for each patch. Makes easier for people to review.
> 
> also, you need to send the patches to the subsystem mainatiner, and
> not adding a random list of people like this:
> 
> To: gregkh@linuxfoundation.org, maurochehab@gmail.com, mchehab@infradead.org, mchehab@redhat.com, m.chehab@samsung.com, m.szyprowski@samsung.com, kyungmin.park@samsung.com, k.kozlowski@samsung.com
> 
> Btw, use *just* the more recent email of the maintainer, instead of
> spamming trash to all our emails (even to the ones that we don't use
> anymore!
> 
> I'll just send all those things to /dev/null until you fix your
> email sending process.
>
+1285

There are people at Intel who know about things like this.

-- 
~Randy

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0947/1285] Replace numeric parameter like 0444 with macro Baole Ni <baolex.ni@intel.com> - 2016-08-02 14:50 +0200
  Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with  macro Mauro Carvalho Chehab <maurochehab@gmail.com> - 2016-08-02 16:40 +0200
    Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with macro Randy Dunlap <rdunlap@infradead.org> - 2016-08-02 17:50 +0200
    Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with macro Steve Cotton <steve@s.cotton.clara.co.uk> - 2016-08-02 22:20 +0200

csiph-web