Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3147712rwb; Thu, 29 Sep 2022 22:17:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6KjqKmoH7XatPouyQPTp3u2IyvgwJ+aOWLDtEvk0Yghpn/lVtTwcT3yjI+2roq7wNzF9g0 X-Received: by 2002:a17:907:a058:b0:77d:6211:5735 with SMTP id gz24-20020a170907a05800b0077d62115735mr5337397ejc.87.1664515032608; Thu, 29 Sep 2022 22:17:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664515032; cv=none; d=google.com; s=arc-20160816; b=lGOD/Bo9IoLIs27HhAHMGVc42k4rKFhqaZVXJp8XhvNraJG5a/XG0ftWOAkrFcmhF9 y10RNRrNNXN1D8VrOAoqo+bph60WYEi6EyjmslkDMr0sQJXcNHsXIQfK50pseRybnE6K sGHc0RDxbX9j6No2kpoVgxazc4HyyvmMY9Ybq/DeyuIQuBQqXtaaEwxr5Tv8Ns0ZhtxC /olh6wqXWbnIV6Tt25VbT1kosPHoGekDSkZBoVaOL7KHkahR1+/9E+TE9okkWvVCndUd dzv81tJ9ZHbHYbxala+x95g9Vp0HAA1koWM1OK5EyzdonkrfeIYkK0sE5qqAm92SQr2n CyPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=bXAWhcDwWpo98j59ltOhaFOXOXFWKkU9qy4/ohS3OLA=; b=rqBie9VlsTtZLzF2g5+0Q4o4YGy0uNj1bLbBJFbSblqWKfEhWRB+8lGXcrojb7/vzo i/YY9vLfUEPuQtnnsnGCWlfKnqZyNggWUwgqMBzWCQ9JeKP7dc/cNrYA0tEae5iYK9fx yO7nsokLxKsY2h3DOYZCcF3ei1WmLgeKtGR77iAVEFOsmKHS9zBQ7AK2F/pCke3+l51g 9X9n82q7Je16Ta1sJ+qv2C5fIyeyLU+gNnn2ru3HIXsYqlS34RRpQLhS9MxUnZEfCtmj ybcjKZSJqFYv4vqNiPFu/qqYqHEPoMrKrCcFQMvflS2Bhf76wGpIwMZca0qkKcGbDr/0 e7hw== 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 hp19-20020a1709073e1300b0073d6b849d4fsi1118412ejc.731.2022.09.29.22.16.47; Thu, 29 Sep 2022 22:17:12 -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 S230192AbiI3FDa (ORCPT + 99 others); Fri, 30 Sep 2022 01:03:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbiI3FD2 (ORCPT ); Fri, 30 Sep 2022 01:03:28 -0400 Received: from cstnet.cn (smtp23.cstnet.cn [159.226.251.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 855473C143; Thu, 29 Sep 2022 22:03:26 -0700 (PDT) Received: from localhost.localdomain (unknown [124.16.138.125]) by APP-03 (Coremail) with SMTP id rQCowACHOVmWeDZjhiuKAg--.4078S2; Fri, 30 Sep 2022 13:03:18 +0800 (CST) From: Jiasheng Jiang To: kuba@kernel.org Cc: pabeni@redhat.com, davem@davemloft.net, tchornyi@marvell.com, edumazet@google.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jiasheng Jiang , Volodymyr Mytnyk Subject: Re: Re: [PATCH] net: prestera: acl: Add check for kmemdup Date: Fri, 30 Sep 2022 13:03:17 +0800 Message-Id: <20220930050317.32706-1-jiasheng@iscas.ac.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: rQCowACHOVmWeDZjhiuKAg--.4078S2 X-Coremail-Antispam: 1UD129KBjvJXoW7CrW8Gr1xGFy3CF15JFy7ZFb_yoW8CFy3p3 yYkr13CFyktryxAw47Cw1UuasYga1UKF15Xrs5uayI9wnIqrs8GrWFyF429r1UGFWrWa43 tr42g3Z5Ka1UXa7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUkv14x267AKxVW8JVW5JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0 rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK02 1l84ACjcxK6xIIjxv20xvE14v26r1j6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j 6F4UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Cr 1j6rxdM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj 6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr 0_Gr1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7MxkIecxEwVAFwVW8 WwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r 1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij 64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr 0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF 0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0JUP5rcUUUUU= X-Originating-IP: [124.16.138.125] X-CM-SenderInfo: pmld2xxhqjqxpvfd2hldfou0/ X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 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, 30 Sep 2022 00:15:27 +0800 Jakub Kicinski wrote: > On Wed, 28 Sep 2022 17:20:24 +0800 Jiasheng Jiang wrote: >> As the kemdup could return NULL, it should be better to check the return >> value and return error if fails. >> Moreover, the return value of prestera_acl_ruleset_keymask_set() should >> be checked by cascade. >> >> Fixes: 604ba230902d ("net: prestera: flower template support") >> Signed-off-by: Jiasheng Jiang > > You must CC the authors of patch you're fixing. > get_maintainer will do that for you I don't understand why people can't > simply run that script :/ You CC linux-kernel for no apparent reason > yet you don't CC the guy who wrote the original patch. > If you could please explain what is going on maybe we can improve the > tooling or something. Actually, I used get_maintainer scripts and the results is as follow: "./scripts/get_maintainer.pl -f drivers/net/ethernet/marvell/prestera/prestera_acl.c" Taras Chornyi (supporter:MARVELL PRESTERA ETHERNET SWITCH DRIVER) "David S. Miller" (maintainer:NETWORKING DRIVERS) Eric Dumazet (maintainer:NETWORKING DRIVERS) Jakub Kicinski (maintainer:NETWORKING DRIVERS) Paolo Abeni (maintainer:NETWORKING DRIVERS) netdev@vger.kernel.org (open list:NETWORKING DRIVERS) linux-kernel@vger.kernel.org (open list) Therefore, I submitted my patch to the above addresses. And this time I checked the fixes commit, and found that it has two authors: Signed-off-by: Volodymyr Mytnyk Signed-off-by: David S. Miller Maybe there is a problem of the script that misses one. Anyway, I have already submitted the same patch and added "vmytnyk@marvell.com" this time. Thanks, Jiang