Hi, On Mon, Nov 28, 2022 at 9:22 AM Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> wrote: > > On 28/11/2022 16:56, Doug Anderson wrote: > > Hi, > > > > On Thu, Nov 24, 2022 at 3:27 AM Krzysztof Kozlowski > > <krzysztof.kozlowski@xxxxxxxxxx> wrote: > >> > >> On 24/11/2022 12:20, 楊宗翰 wrote: > >>> Hi Krzysztof, Matthias, > >>> > >>> How to use "get_maintainers.pl"? > >>> > >>> I find this script in path "<MyCodebase>/kernel/v5.15/script", and output > >> > >> This looks like v5.15 kernel which is heavily outdated. Please never > >> work on such kernels when interacting with upstream. The rule is you > >> work on either last mainline kernel (v6.1-rc6), maintainers for-next > >> branch (you should know who is the maintainer of subsystem you submit > >> to, get_maintainers.pl gives this information) or on moderately recent > >> linux-next. For bigger patchsets there might be exceptions for these > >> rules, but it's not the case here. > > > > Just to add context here, it's a fairly standard workflow for ChromeOS > > kernel engineers to work in a "versioned" kernel directory but still > > checkout and work with the upstream kernel. I'm sure it's confusing to > > anyone not used to working with the ChromeOS source tree and build > > system. Sorry! :( So the fact that Owen is in a directory called > > "v5.15" doesn't mean that he's actually working with the v5.15 kernel. > > The fact that Bjorn's address is correct in his CC list implies to me > > that he's actually got a proper upstream kernel. > > > > I had previously [0] instructed Owen to send against Bjorn's tree, so > > hopefully it's correct. > > If it was on Bjorn's tree, get_maintainers.pl would not produce such result: > > --- > Series-to: LKML <linux-kernel@xxxxxxxxxxxxxxx> > Series-cc: Douglas Anderson <dianders@xxxxxxxxxxxx> > Series-cc: Bob Moragues <moragues@xxxxxxxxxxxx> > Series-cc: Harvey <hunge@xxxxxxxxxx> > Series-cc: Stephen Boyd <swboyd@xxxxxxxxxxxx> > Series-cc: Matthias Kaehlcke <mka@xxxxxxxxxxxx> > Series-cc: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> > --- So the above is the _manual_ set of names to add atop get_maintainers. Patman starts with the list you've manually added (via Series-to and Series-cc) and then automatically CCs the results of get_maintainers.pl > or this: > > --- > owen@buildsvr-HP-ProDesk-600-G4-MT:~/chromebook_zombie_os/src/third_party/kernel/v5.15$ > perl scripts/get_maintainer.pl -f MAINTAINERS --email > linux-kernel@xxxxxxxxxxxxxxx (open list) Wow, really? Maybe I don't have Bjorn's tree correctly checked out either. ...or you can tell me what I'm doing wrong. $ git checkout linux_qcom/for-next HEAD is now at 4d2b529bce12 Merge branches 'arm64-defconfig-for-6.2', 'arm64-for-6.2', 'clk-for-6.2', 'defconfig-for-6.2', 'drivers-for-6.2', 'dts-for-6.2' and 'arm64-fixes-for-6.1' into for-next $ perl scripts/get_maintainer.pl -f MAINTAINERS --email linux-kernel@xxxxxxxxxxxxxxx (open list) > as Owen indicated earlier. They are either incomplete or not correct. > > Of course I don't know whether the base tree is the problem or usage of > get_maintainers.pl... I suspect it's because the only "maintainer" of the file MAINTAINERS is LKML.