Received: by 2002:a05:6a10:3150:0:0:0:0 with SMTP id m16csp752717pxc; Thu, 7 Apr 2022 21:54:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypFGGuOKuXTsHX5BfXWQeBeJDsBbmjzEF0CWKekQzZeHDOqjy7jh52DnTWbBctXwgn577/ X-Received: by 2002:a65:6753:0:b0:385:fa8a:188f with SMTP id c19-20020a656753000000b00385fa8a188fmr14160125pgu.499.1649393644371; Thu, 07 Apr 2022 21:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649393644; cv=none; d=google.com; s=arc-20160816; b=uRFWZNxPJ21HA4uLjuO4lv/cSlVmLp7FtCqpmGygKAk9iakt12iUK4N8cO0skFUec4 5JiFF4/cxzYzzT7GlO/iWkVkEy8FYNtF3Q+zvstWW2Wkuoixx9Ra0P3vsxnotkVmCLak 6Tq07/sfOc1nI3c42Usexz55yV8l47st9EDKCXc8Rdgo0TLUiAtSHeT0pehBXptrvMaS SdT/msbdZCQ1+nI27pRXwOmTAHY4m0c40mZF/L5JIHzvO5ZIwdkehJi3/AZnh5vFApCV wPLgSDvyUIy2q3m2O7inLzbPRBnFsDpYK3ACM7Q0autbyqsvFIoBF+I6ICa0OGJJXAqe BGdg== 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=hktUxcWCX4Ph5tuxkCdOhZInaHluDy4XHJn9osmFJD4=; b=omMsXaccFz3uUUzITiq6QmiNsJZ31cNP5dEXdklIxkzx9PnBY/r390CXDQHF2ZONx3 52VZHB0DAMhI8gd4vT/svLSuQHtYbQt3ZDnmyXwdsKK7eGUP1gnko4NAO+GV0n4yUn2U 04ywWIfDxsGGXngJPlp+qQZx2neTpbLIHwdP/mLD8Z5pdzymGVoJ+NYMj3N2Gmhwuk1W 6UnH1iBGWc398lSuU4pY1T7OjvMgMQ6PZKBbdMKx4XBZ2YCUZ04Vl3UFGybMwie6XE6Z DVTEANG2U/jNbkXXCPN9swzuYDY405mqFbYYZv0inJLFd0dSkVXvT6N+nuPdADtOUGXE ww1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fi4BfkAc; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 23-20020a631157000000b00397f965a779si312366pgr.128.2022.04.07.21.54.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 21:54:04 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fi4BfkAc; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 931DA16A6A3; Thu, 7 Apr 2022 21:20:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234254AbiDHEWT (ORCPT + 99 others); Fri, 8 Apr 2022 00:22:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231826AbiDHEWQ (ORCPT ); Fri, 8 Apr 2022 00:22:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06DB6A0; Thu, 7 Apr 2022 21:20:13 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 185D461E4B; Fri, 8 Apr 2022 04:20:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 671C2C385AB; Fri, 8 Apr 2022 04:20:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649391612; bh=u7ZMh83fqnYFtsF3Tn7eFF996YlGLimcmWlos4xrW0s=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=fi4BfkAcaFodrBZy02fD7nGFH8DpdqdJmT7ImOolvm1c2osddp2Lv0Q6PGxY1nNP3 k4s4Ef5Ea1xBJWD9Muu3ANdgnnSLXBbFYI71fjnP7cG5FxMdSPJuuFw52ba9Ju9tbl 86S5oTdoRUixjOUChfAV1E6Dts2Uk0eoSJOGMtsv+38jk6olcyW8lEYnV9WWRCXUe/ hzvgy/EC/05L1+LespA5UkiU/9n2wBJBRWrjTpPbnXpuPoH7FUXYqM5Txr3MLMgFsy it4qrbldgTP7UlsHnQqv1rJC3PMheIGu1LnFhpPzvtVQuBiGU59zViZrK1r2ywylGC 2zPzHKY49wp7Q== 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 4807DE8DBDD; Fri, 8 Apr 2022 04:20:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: mpls: fix memdup.cocci warning From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164939161228.2784.17655995105945101146.git-patchwork-notify@kernel.org> Date: Fri, 08 Apr 2022 04:20:12 +0000 References: <20220406114629.182833-1-gongruiqi1@huawei.com> In-Reply-To: <20220406114629.182833-1-gongruiqi1@huawei.com> To: GONG@ci.codeaurora.org, Ruiqi Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, wangweiyang2@huawei.com X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-next.git (master) by Jakub Kicinski : On Wed, 6 Apr 2022 19:46:29 +0800 you wrote: > Simply use kmemdup instead of explicitly allocating and copying memory. > > Generated by: scripts/coccinelle/api/memdup.cocci > > Signed-off-by: GONG, Ruiqi > --- > net/mpls/af_mpls.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Here is the summary with links: - net: mpls: fix memdup.cocci warning https://git.kernel.org/netdev/net-next/c/27a5a5685d37 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html