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=-5.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 4E1DAC4338F for ; Sat, 21 Aug 2021 23:19:55 +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 DD16A61268 for ; Sat, 21 Aug 2021 23:19:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DD16A61268 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=challenge-bot.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 1mHaH3-0006CO-7W; Sat, 21 Aug 2021 19:19:37 -0400 Received: from challenge-bot.com ([2602:fffa:fff:108a:0:16:3e15:92b8]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mHaGz-0006CI-36 for kernelnewbies@kernelnewbies.org; Sat, 21 Aug 2021 19:19:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=challenge-bot.com; s=20180430; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pzYoP3RQMHxOSl/3hS3aCK/IifGiAcIfMvQostFXL0A=; b=jNOAAMHYLXJDS7QaSC6LhkL28 /AwZ9JxgVSQ5t3MOfec/JMR6TPVRrCxWorMmVjeZD7q18Mel6OKZKZ9PAsM6bVXSTaoHh1xqXmVFC ngKHYGgf849JXzbtGTn/etorkJhUnCgJo7eWGz1ZgklDVlmc6heHwXxRNsC+GFZMH1zdk=; Received: from ozzloy by challenge-bot.com with local (Exim 4.92) (envelope-from ) id 1mHaGx-0003oZ-CY for kernelnewbies@kernelnewbies.org; Sat, 21 Aug 2021 16:19:31 -0700 Date: Sat, 21 Aug 2021 16:19:31 -0700 From: daniel watson To: kernelnewbies@kernelnewbies.org Subject: Re: how do you find the subsystem of a file? Message-ID: <20210821231931.GB7414@challenge-bot.com> References: <20210821073027.GD18204@challenge-bot.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210821073027.GD18204@challenge-bot.com> User-Agent: Mutt/1.10.1 (2018-07-13) 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? > > in addition, how do i know what branch to use? the T: entries have a > repo, but not a branch name. > > thanks! > :wq, danny answering my own question, the output of git log --oneline -1 should have the subsystem listed at the beginning. thanks! C-x C-c, danny _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies