Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2761507rwb; Mon, 3 Oct 2022 05:21:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Ve7qhBFKgVx0ENcsL74UpCcOMnBF2ZctXGl3iqIV8ee5MjuWWER7fcH0i+fGPVuAWvL61 X-Received: by 2002:a05:6a00:1ad3:b0:548:962b:4c53 with SMTP id f19-20020a056a001ad300b00548962b4c53mr22221344pfv.59.1664799669435; Mon, 03 Oct 2022 05:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664799669; cv=none; d=google.com; s=arc-20160816; b=ZKRFwt7Pa8qZ6Lw2pl5bft7KLsuUHn1QruBoxTxaqxzynwLUEAvRzCnwaiO/6MTB6s 6E6RxYwjW4G7TNthknCxUJKnJRLJM12mhbCCyiItxUT81fIeqxspdxyHIMyhbkQIHduZ 5xuCNRO0eNjP8mXwlfWgpT4HqJWrcqgt6Pn2sxff1Ec3zFRJaCtJ3t0RIpHDg40HMWf/ vuN1mvrLBy7ioYo7b8XXubdGe/7ZmhRszKFuQxAStAqigz2v+2A+fsdUlIvMZ1ZnG9Q5 06ixqP8RIgyCpdpZ7Z+uu5cRttAcRT07RsxWRbDeNKijTg+PMuJgFfYGB6wx5oTaYGuZ YX4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=mLQfJmQSyeDLcsKlwmYmDaM7z5o6IWYj93RIerOb/cU=; b=m0sSivuJObUkdXH/8sVkuga4bZklKZ/9tmIXbOXlbh7FKHACl1REX1aXsrvlOpK95E 0A02NAFLnM0IAaOpvluQnMsRH+Kj3qpcUDHlokJp1qcyWHPej40fZcGly4Qq4vUSOTdy qLqT1ZCXuhVEEK1GEsWfIT/vvbfRIFUVOtFcuNF5JWHdjin3bG/eyKrd4u5g64z2l1J2 wXuMva+ScYODqdI7Z3h3URDT4ifV4QsVkcFne/VovQwkasRYXuwxmZHNQ0f3gbisp9G1 07Lsw4CJbamRE5g5ZFt9maxSDja5ZusSsn27AzEyRtZgjkStza7/VrtE/10L2PqLlori 24gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G7F61gth; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d15-20020a63f24f000000b004227041e9d2si10687952pgk.405.2022.10.03.05.20.57; Mon, 03 Oct 2022 05:21:09 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G7F61gth; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229904AbiJCLkV (ORCPT + 99 others); Mon, 3 Oct 2022 07:40:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbiJCLkS (ORCPT ); Mon, 3 Oct 2022 07:40:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 624AA1A805; Mon, 3 Oct 2022 04:40:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0EE32B8107E; Mon, 3 Oct 2022 11:40:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A0D0DC433C1; Mon, 3 Oct 2022 11:40:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664797214; bh=bFoPM+VdvAXnSmDi7qTpDpT02RkKRdyFW8pWKcVeUyA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=G7F61gthixv+xq1Z3VD7uZTYb8V6AAVzJs2UXUR4mACftu/T0i62r5uVequH7UUkB fmCAqx2LLrjUjzhb4DeoIkrFrrK/3dT/+iCYNQeodW/XpJCAKGiHusaQ/GhXcSt91M n5A2vfokjkzFzOEfJAwVTm1YBDtQwg1b0waEA0o3ejXDUgQ25/HW/PK/dXGLL939vO h4PTCzntfCutp7gyMswYGlUwj8U8h9hiAFViQAuk88hE7kiTlgDpI+cEKLt44MoCLB HlpwMdDM5zRbAUOJycUQB9bdgJ76zNkfT/2oz+h0MrcfSC/ijrBpXEbzHHFsh+/+8H vd+NvE6mAjD4A== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 7BDDFE4D013; Mon, 3 Oct 2022 11:40:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: prestera: acl: Add check for kmemdup From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166479721450.20474.10937271845553963937.git-patchwork-notify@kernel.org> Date: Mon, 03 Oct 2022 11:40:14 +0000 References: <20220930044843.32647-1-jiasheng@iscas.ac.cn> In-Reply-To: <20220930044843.32647-1-jiasheng@iscas.ac.cn> To: Jiasheng Jiang Cc: vmytnyk@marvell.com, davem@davemloft.net, tchornyi@marvell.com, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Fri, 30 Sep 2022 12:48:43 +0800 you 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 > > [...] Here is the summary with links: - net: prestera: acl: Add check for kmemdup https://git.kernel.org/netdev/net/c/9e6fd874c7bb You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html