lkml.org 
[lkml]   [2017]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 20/22] tools arch: Sync arch/x86/lib/memcpy_64.S with the kernel
Date
>> If we are going to have all these copies of kernel files below
>> "tools/...", perhaps checkpatch could warn people touching one
>> that the other needs the same update?
>
> How would checkpatch know tools hasn't already updated the other?

If checkpatch had a list of all the tools copies, it could warn if a patch
touched a file without touching the copy.

Not completely ideal because people might update the two files in
separate patches in a series (in which case they would see warnings
from both patches).

Also means that checkpatch needs the list of copied files ... not sure
how often that changes.

-Tony

\
 
 \ /
  Last update: 2017-04-25 18:18    [W:0.068 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site