2019-10-24 05:28:54

by Mark Salyzyn

[permalink] [raw]
Subject: Re: [PATCH] Cleanup: replace prefered with preferred

On 10/23/19 4:56 AM, Jarkko Sakkinen wrote:
> On Tue, Oct 22, 2019 at 02:41:45PM -0700, Mark Salyzyn wrote:
>> Replace all occurrences of prefered with preferred to make future
>> checkpatch.pl's happy. A few places the incorrect spelling is
>> matched with the correct spelling to preserve existing user space API.
>>
>> Signed-off-by: Mark Salyzyn <[email protected]>
> I'd fix such things when the code is otherwise change and scope this
> patch only to Documentation/. There is no pragmatic benefit of doing
> this for the code.
>
> /Jarkko

The pragmatic benefit comes with the use of an ABI/API checker (which is
a 'distro' thing, not a top of tree kernel thing) produces its map which
is typically required to be co-located in the same tree as the kernel
repository. Quite a few ABI/API update checkins result in a
checkpatch.pl complaint about the misspelled elements being
(re-)recorded due to proximity. We have a separate task to improve how
it is tracked in Android to reduce milepost marker changes that result
in sweeping changes to the database which would reduce the occurrences.

I will split this between pure and inert documentation/comments for now,
with a followup later for the code portion which understandably is more
controversial.

Cleanup is the least appreciated part of kernel maintenance ;-}.

Sincerely -- Mark Salyzyn


2019-10-25 11:23:20

by Jani Nikula

[permalink] [raw]
Subject: Re: [PATCH] Cleanup: replace prefered with preferred

On Wed, 23 Oct 2019, Mark Salyzyn <[email protected]> wrote:
> I will split this between pure and inert documentation/comments for now,
> with a followup later for the code portion which understandably is more
> controversial.

Please split by driver/subsystem too, and it'll be all around much
easier for everyone.

BR,
Jani.


--
Jani Nikula, Intel Open Source Graphics Center