Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4040219rwb; Fri, 30 Sep 2022 11:54:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6L1aeSp26TXbdHQ81wtXefOax7Vb6QLLonuMD6Txx7VrNxMVzqZLKcHuGYT7Ca3IA/L97x X-Received: by 2002:a17:906:8a5a:b0:781:6a01:5ccc with SMTP id gx26-20020a1709068a5a00b007816a015cccmr7328741ejc.118.1664564047603; Fri, 30 Sep 2022 11:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664564047; cv=none; d=google.com; s=arc-20160816; b=omwhLifJSZJpjQiGWl0B0c0Uyp8glnE0n1dn3k+6a8MlyKb1r4YTRQXurenMBsPAtk Fdqp6d9k82NFzbUotlcoQTK0l9uAS4t6aAI1RkIM0b5SdanjH5f0f4kU3zN23emZkJsm /vAt9Xao85IhwWA66W0flp5kLiyUTOTXkQUMjxKE3EnrSbteOuBYlkZwNfQbGY3djHDk LitxY6dt4/4mn5FLlNGaWkMhBfDYdOlYyct73PRMQ6OOgMfabt48sa2uGOjQ8PYTu2H2 qRtpqId9OzCWXfRtagaIv0qBHM0KhiPgYfT0rL5Q9GqL7P35d6ugSuTEQ63UveeTTmPX ubXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=jVk9ePXUyJIMFlyzcE7BPQtz5XOhgq9ByTMXK4KjVxg=; b=lu3hb8W6afivFQUMdyAng9qnycvWJy4PAofWr+cO4TDbi0+MHbGMozug+u7Ej+HXR1 VRgUropNCoxfXBaSe5Z1zxrrfLfBAHhjuDP3j7HjzEQFbyOMSK3nOVPHyiUXRIlWzJ6b mdocLGkxM9PzAVUc0xNYFIcCda4NAmtXClgomcL7X2XYzYdeacqAyhGGR+wwKn0eQesG dCn3b9+KQLJj5AiMMwiGsw73C+UHRjPDFUrx4xCIbUPeBMFxcHpKAtJrSGJm5k98Z1u8 m4ik1tO9s4LVJH81ANXYuCARaicBrewa98D9tK0z424nRnzuEkV6DHXJMJUrPHvh2cyu pe1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p21-20020a1709060e9500b00771396445b2si2028548ejf.194.2022.09.30.11.53.40; Fri, 30 Sep 2022 11:54:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231842AbiI3S2V convert rfc822-to-8bit (ORCPT + 99 others); Fri, 30 Sep 2022 14:28:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231779AbiI3S2T (ORCPT ); Fri, 30 Sep 2022 14:28:19 -0400 Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 168121B0523; Fri, 30 Sep 2022 11:28:15 -0700 (PDT) Received: from omf12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 8783CA0529; Fri, 30 Sep 2022 18:28:13 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf12.hostedemail.com (Postfix) with ESMTPA id 04CC918; Fri, 30 Sep 2022 18:28:03 +0000 (UTC) Message-ID: <8fdc337ca11ddfbca35de824e833a4cd69e624ce.camel@perches.com> Subject: Re: [PATCH] net: prestera: acl: Add check for kmemdup From: Joe Perches To: Jakub Kicinski Cc: Jiasheng Jiang , pabeni@redhat.com, davem@davemloft.net, tchornyi@marvell.com, edumazet@google.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Volodymyr Mytnyk , Greg Kroah-Hartman Date: Fri, 30 Sep 2022 11:28:09 -0700 In-Reply-To: <20220930095828.771d1ad5@kernel.org> References: <20220930050317.32706-1-jiasheng@iscas.ac.cn> <20220930072952.2d337b3a@kernel.org> <20220930084431.508ce665@kernel.org> <76e4463b9ea5946e7af045363d888b966ba5e209.camel@perches.com> <20220930095828.771d1ad5@kernel.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-Rspamd-Server: rspamout08 X-Rspamd-Queue-Id: 04CC918 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Stat-Signature: u97awime47qnf6s6m1s1kj1hfd4dyw1r X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18ahilX3LXnQGMCNj92nIrnBNRw0mCUl3M= X-HE-Tag: 1664562483-520278 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2022-09-30 at 09:58 -0700, Jakub Kicinski wrote: > On Fri, 30 Sep 2022 09:43:54 -0700 Joe Perches wrote: > > > > There's no great way to identify "author" or "original submitter" > > > > and frequently the "original submitter" isn't a maintainer anyway. > > > > > > Confusing sentence. We want for people who s-o-b'd the commit under > > > Fixes to be CCed. > > > > If a file or a file modified by a patch is listed in the MAINTAINERS, > > git history isn't used unless --git is specified. > > > > For a patch, maybe the author and other SOBs of a commit specified > > by a "Fixes:" line SHA-1 in the commit message could be added automatically. > > Yes, git history isn't used, but the Fixes tag are consulted already > AFAICT. We just need to steer people towards running the script on > the patch. > > $ git format-patch net/main~..net/main -o /tmp/ > /tmp/0001-eth-alx-take-rtnl_lock-on-resume.patch > > $ grep Fixes /tmp/0001-eth-alx-take-rtnl_lock-on-resume.patch > Fixes: 4a5fe57e7751 ("alx: use fine-grained locking instead of RTNL") > > $ git show 4a5fe57e7751 --pretty='%an <%ae>' --no-patch > Johannes Berg > > $ ./scripts/get_maintainer.pl /tmp/0001-eth-alx-take-rtnl_lock-on-resume.patch | grep blame > "David S. Miller" (maintainer:NETWORKING DRIVERS,commit_signer:2/4=50%,blamed_fixes:1/1=100%) > Johannes Berg (blamed_fixes:1/1=100%) Yeah, you kinda ruined my reveal. It already does that. Of course I did that 3 years ago and I forgot about it. cheers, Joe