Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp343941rdf; Fri, 3 Nov 2023 02:20:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGSiz4EXCWvz9QZQ1NtZDgZlTwph7W0xMwHirKTzSUBS7dAx6QnuYd6Qf2+cIKEXCEACaa7 X-Received: by 2002:a05:6830:25c1:b0:6bc:f6d0:87d9 with SMTP id d1-20020a05683025c100b006bcf6d087d9mr26078466otu.5.1699003230033; Fri, 03 Nov 2023 02:20:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699003230; cv=none; d=google.com; s=arc-20160816; b=TmM6NaSp+JXK6CPZ//YO8uWuQ6qUGXGBARcVKH5QCCV+6d+zR0p0Eue1yTRzUcbFCf ABuB7QrF2QHMt/e/aQIkrsLAE4dbUnBID5ioT7eujhUZaZV6776dNah+wa+mmuZ6aSkL z524EmWBVz5BfgTzIHMclB3eJ8ruxH5lVecwv510CCC9kORxU8z449EFvYCicPEza599 AIBW2VELrKqtSSyiiiLYEmVE8xo8WOAv5q6fu3Ittl/Nq8sQqX76xb4YxoFRqCVR9bYX DhT7xNl1UvuZJZBqmiF68JVgt8afHvJ3J8llG1sLHOiPBp0jOVjtoLNzazN77ygd+Pi3 RkWQ== 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=BaKDrannCYSSV2N5EP3tCRAZ3Lkxzd5zhrNIG7zNXQA=; fh=wVO+FnlVTlB6WPkaYV/XVSsSvTE4tCKsdz3t0PcfHh0=; b=IBoR7CKElwF2B/MXRTBdUGBeVzn11/p0sBum/6Dpmtz7atPOzdO+slA77KRJF1sRGO 3mjhqPtjy4O0asdp6zyas0Iy/3ZI9KNPm0lH0gw+7mRkN54aGbAcCE5df+cBWtUYqQAW aHInf8Yry++LmIWxc5yU7lx/N6hZU4gO+DTlymlTobfgyogpvyVor9IkIoAFDOhjnDis e0wve6xUPEQrF6DX2jkDRPJxg9P7aYcOGADJNGgGVYXY2s8BxJESx+jJPbvU88ewYI/i 8Rz7rJGLnGoolLUGWiDIqYg4zKDcutbSPbbkzkTPk09kuO4lLZL5jBq6yshoMYtqFRtn /opw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qwxr5Ynq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id c8-20020a63d148000000b005b936900e26si1138530pgj.713.2023.11.03.02.20.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 02:20:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qwxr5Ynq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id D89938350FEE; Fri, 3 Nov 2023 02:20:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347010AbjKCJU2 (ORCPT + 99 others); Fri, 3 Nov 2023 05:20:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346954AbjKCJU0 (ORCPT ); Fri, 3 Nov 2023 05:20:26 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E71B91AD for ; Fri, 3 Nov 2023 02:20:23 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 938D7C433C9; Fri, 3 Nov 2023 09:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699003223; bh=/E8aN2eqf8+9+fQQLHb6DQ5BDwl4MybdpCu0nul9xiE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Qwxr5Ynqu4Y1dPkA8/LQUHD1izqztkB/TEnEYhAf3cXEyW2dtVTph0sBvSlVWbftO +NgiIEQXB160wlNcoqDK59ErEkaiOEJ7KQTJjMB5ea15QN/vKx103GJ1QS/9AGRpZV 2fEU2jpmVWPDzpzkmf1fKxsczzGUHDvHkc9CIHgkhczwEdzsrGSLauQvD1F5NJgea0 VE/0RrCAVmgl0cqZGTu3JksVoQi1kE82wjhauGMPymhj7ml7iDFuALiCi4URApmnm1 T9g3EmUi1K2hAy9nA3OmL3mdnZa4uu5urEOGjkDlJo3y0A6LGXNP7PbQlaCIbQIfQm vQmLH20WokGsQ== 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 7733FE00085; Fri, 3 Nov 2023 09:20:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Fix termination state for idr_for_each_entry_ul() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169900322348.11636.17439163150143289110.git-patchwork-notify@kernel.org> Date: Fri, 03 Nov 2023 09:20:23 +0000 References: <169810161336.20306.1410058490199370047@noble.neil.brown.name> In-Reply-To: <169810161336.20306.1410058490199370047@noble.neil.brown.name> To: NeilBrown Cc: netdev@vger.kernel.org, davem@davemloft.net, linux-kernel@vger.kernel.org, willy@infradead.org, chrism@mellanox.com, xiyou.wangcong@gmail.com X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 03 Nov 2023 02:20:29 -0700 (PDT) Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Tue, 24 Oct 2023 09:53:33 +1100 you wrote: > The comment for idr_for_each_entry_ul() states > > after normal termination @entry is left with the value NULL > > This is not correct in the case where UINT_MAX has an entry in the idr. > In that case @entry will be non-NULL after termination. > No current code depends on the documentation being correct, but to > save future code we should fix it. > > [...] Here is the summary with links: - Fix termination state for idr_for_each_entry_ul() https://git.kernel.org/netdev/net/c/e8ae8ad479e2 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html