Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1138489rdb; Sun, 1 Oct 2023 23:21:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjCxIGHMb4R5KmwxRCHrjEoOcPXCyyzgye7mSw3Enr7jUPUuxPvRvaymzOypgqTuc2fmYd X-Received: by 2002:a05:6358:718b:b0:143:7a89:a8e8 with SMTP id t11-20020a056358718b00b001437a89a8e8mr12188108rwt.10.1696227692169; Sun, 01 Oct 2023 23:21:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696227692; cv=none; d=google.com; s=arc-20160816; b=TWjWk/e8jrCFwvscPYP2XnF2ROon4M0HEzixHwp3+7Sbracq+s0FLMc888ZEtxkmEu xwiq2uVW+xQ3TYHwUiL4QBbpyloCFvfN1FVzDsLgQ5yr6N81OtLwU97mxqoyC0Z9NYfe WL/RgVK7c9KufYEXaaZJs1W6mQ+k9URCB9NguXFQ8u/9wC+vPCYQHrMZVcR6QOVbzjr3 50zKxJTQ5O33nsfY4lx3ztQLbKyXo3Zkb3RLOO8bKd+8qauIQfphShDPCk7NuFrsa3sc Givl3iCH2c1frS21eOdSD5PhUdwm6dKEz96ksmCIs6qvuo20SR117cClSrKnxqLQ8AJ9 Ys2Q== 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=vDzAdLSSaaaLMnjHOjVZVGWF/vD2IkQTKKGpBfom1Jw=; fh=fTSMCX1pKXlqeRxkl2ch38NLC0/whi4sFbRVUexqcCg=; b=sCuwoFCJwsL38oTRfTlo5TA/Fm35Tm0v13irs+Cg4Ar3Qu/DgOpwDD3XWcDAWHyXRw VF+bAqLbGxhheZyBAtxSDliVv3Pao901Rw+2LD3hpWqDIMuAWaMk+DSoI2KIE2pevpjk tcI7FJLJVK+5G6yg5vdqq3coNYCDscNxfzIWtTR657J8crCqa5tE0/1qiBkT2oTM04f4 UbNE0dGsNSP/CIckzQTldoGWAdFn76GvuJw89GsBe7KyTvXOy18FyiIxVIUyn28WRUG6 fTEIMPmxEGrmEwHbBZRhhPAvkBfrqZ0AQras0NPrrnjVFugL19uRDdSLEre32kgiangU 02LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TH4iD6OO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id c29-20020a63725d000000b00573f8a5337esi7303822pgn.461.2023.10.01.23.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 23:21:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TH4iD6OO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3FBDF80A49A0; Sun, 1 Oct 2023 23:20:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235488AbjJBGUa (ORCPT + 99 others); Mon, 2 Oct 2023 02:20:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbjJBGU3 (ORCPT ); Mon, 2 Oct 2023 02:20:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B024C9 for ; Sun, 1 Oct 2023 23:20:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id F3096C433C9; Mon, 2 Oct 2023 06:20:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696227625; bh=wXzmAfRshjqAnDdD5iHtUmmoeWAJ02bWuV6zzoV/B0s=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=TH4iD6OOE0tOITdK4gCSwJ7EgpBJ7StewarDgDmFfEXYpWaDvwlctIZEbA0fnu7jO WvIaaY+4MGz4FSNRTp8O+Ylr55jODK/6lAjy0UNcRF+u/zb1WcM+184yRdBJ+KurjR sF2a2Mr0+vcYTnpyi1xzAhFJJIWa8iJAje1q6PFQl731l2YcdR6/UYvc5fSHtM5E83 /KHExxHBjHE6pKzwfxGSgSv8LKzNMeWSeSBAzktPVGaU/4zhCMbb3mnbOBUeXRuXJw TGeqdlhkLVLHlRH17A3RrDYQwkcR5gWjVrwCBZQwzvStvfdq75tLbd+oPsYS0i35TX 3fiUFUniJLqow== 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 DBF47E632CD; Mon, 2 Oct 2023 06:20:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] ptp: ocp: Fix error handling in ptp_ocp_device_init From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169622762489.27578.3892409434532929889.git-patchwork-notify@kernel.org> Date: Mon, 02 Oct 2023 06:20:24 +0000 References: <20230922094044.28820-1-dinghao.liu@zju.edu.cn> In-Reply-To: <20230922094044.28820-1-dinghao.liu@zju.edu.cn> To: Dinghao Liu Cc: richardcochran@gmail.com, jonathan.lemon@gmail.com, vadfed@fb.com, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 01 Oct 2023 23:20:39 -0700 (PDT) Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Fri, 22 Sep 2023 17:40:44 +0800 you wrote: > When device_add() fails, ptp_ocp_dev_release() will be called > after put_device(). Therefore, it seems that the > ptp_ocp_dev_release() before put_device() is redundant. > > Fixes: 773bda964921 ("ptp: ocp: Expose various resources on the timecard.") > Signed-off-by: Dinghao Liu > > [...] Here is the summary with links: - ptp: ocp: Fix error handling in ptp_ocp_device_init https://git.kernel.org/netdev/net/c/caa0578c1d48 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html