From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E8E7C432BE for ; Wed, 1 Sep 2021 06:37:33 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F28A260F25 for ; Wed, 1 Sep 2021 06:37:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F28A260F25 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1mLJs3-0008PM-Ek; Wed, 01 Sep 2021 02:37:15 -0400 Received: from mail.kernel.org ([198.145.29.99]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mLJry-0008P0-2z for kernelnewbies@kernelnewbies.org; Wed, 01 Sep 2021 02:37:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B95B760F25; Wed, 1 Sep 2021 06:37:05 +0000 (UTC) Date: Wed, 1 Sep 2021 08:37:03 +0200 From: Greg KH To: daniel watson Subject: Re: how do you find the subsystem of a file? Message-ID: References: <20210821073027.GD18204@challenge-bot.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210821073027.GD18204@challenge-bot.com> Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Sat, Aug 21, 2021 at 12:30:27AM -0700, daniel watson wrote: > i wrote a patch that got rejected because it did not apply cleanly to > the tree of greg kh > https://lkml.org/lkml/2021/8/18/304 > > the file i modified is > drivers/staging/rtl8723bs/include/rtl8192c_recv.h > > get_maintainer.pl gave me the list of emails to send the patch to, > and i used it for that purpose. the file > Documentation/process/submitting-patches.rst says to see the T: entry > for the subsystem in MAINTAINERS to find the right tree to base the > patch on. i tried searching through MAINTAINERS and found that there > are a few subsystems that start with RTL8*. > > greg kh is listed a few times in MAINTAINERS, so i'm not able to find > the exact tree to start with by looking for the maintainer. > > is there a systematic way of finding the subsystem, given a file? Yes, use the tool you already used: $ ./scripts/get_maintainer.pl drivers/staging/rtl8723bs/include/rtl8192c_recv.h Greg Kroah-Hartman (supporter:STAGING SUBSYSTEM) linux-staging@lists.linux.dev (open list:STAGING SUBSYSTEM) linux-kernel@vger.kernel.org (open list) That shows this file is in the staging subsystem, and there's the list to send the patch to, as well as the person you should cc: on it. > in addition, how do i know what branch to use? the T: entries have a > repo, but not a branch name. You can always ask the subsystem maintainer about what branch to use if you have a question. thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies