Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2734350pxb; Mon, 31 Jan 2022 03:11:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxpw32WKyAUZlI/TM/vVyxYBKrDUI+St+c6E5OnIb436RKyB8zPQEXYdICRv6lbQ+vnccpg X-Received: by 2002:a17:902:ab41:: with SMTP id ij1mr21080423plb.59.1643627480863; Mon, 31 Jan 2022 03:11:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643627480; cv=none; d=google.com; s=arc-20160816; b=rB84TafLdOlQSH0y3xNjWvzjX0WuFMowvzhJ3ezdcAQ3RAkZnnjFCf1MeBV2q2hmq3 o2WEgG7ZzMARSJoBXRWZixmaveTyoJcOVtpQkSTjAHl5hl/o3XFweLQEVT1RKPGv+tH7 P5pMswjzUWPOTG9iMNBgiYhnGtDY1kEJDHYmoArCMbl+edGORmip8yJLbfL3XNGkTayP SG63jZsN8nsxzl1lVyj8ceD83xwzrrAl4qht1aZOOcYHDvgDOScIQzbXieuqNvqEGJ7v htIGfZOTK+w1Ap6F/KG7JlrJCmOPALAYZzQk2m9W4tvzKAuyd/+n0aZKHvGM1amAiBJU 4dKQ== 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=j4+45f8aBj6SegVzuwkj2JvErROd+oHEj5R+pB+IUho=; b=borZKi90gRoadBXT2RilAYgZCkljwnRDbTr8UyJASxpLeMsIdWbUSGalG4OJbjZtfj kfNNEB+FSLSIK0cj6PubYWzopwdQNmA53YDol3MPVboyM3obRcNpvpD7JJQrtQWgGwMu QYStsDPAiOohndjiB8w2B40t2WeRydm9Pv/B53mkJj82UFkT1UInfclwzgPGPM9u1WSg dLvZBxaFS1q5C4sjOprS2XBxQJ3WsvBi+buOhiI7P2K6Yt6T/vBkMLOA19wESoDegYib 6FHhR+PUJViPA4yvXxp4ycY4+ZUJrPeN31Jl4Tg0qr2zccers1oa+oruw+Y7qbIXNafP qjAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=feNk8nDu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x7si11786027plr.389.2022.01.31.03.11.10; Mon, 31 Jan 2022 03:11:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=feNk8nDu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1349327AbiA1PKR (ORCPT + 99 others); Fri, 28 Jan 2022 10:10:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349246AbiA1PKP (ORCPT ); Fri, 28 Jan 2022 10:10:15 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FF2BC061714; Fri, 28 Jan 2022 07:10:15 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id 82EF2CE2697; Fri, 28 Jan 2022 15:10:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A0AF2C340E6; Fri, 28 Jan 2022 15:10:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643382611; bh=hdM3haELsJHetUr2wbDhTLAZ6OmJ5XC3m2VL6ZSjV4w=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=feNk8nDuUCv398dXyOtrTeYBRGVR6UWaFOnGUzwJlksFoukH8j5XwuSUi+b4JVWZK oyXalDXQ/+eB0HXUNB9nnUG+2cQj/xwv1ANr/rdRMvQUrfz6GxiWu8x8n4EGHWap2D cc/Pufek3/X2iTb4eRTAtG44GN+YiCHrfccrbr0q7TNNGDhRsj1Z/qlx7utVeI4ryF MDsKej57sfqB9upXiHZwRu/G3LJcsNQks4BadsbMT+l//Zi6u90S1ufvGBaZn9mRe1 xj8tnGaNgRzHU6hKcoiYRyqLNDadUQYuhvt4222rEwuqU9ZJE0Djyu+3o9YAhliPx6 9odP244x7HPdw== 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 84F64E5D098; Fri, 28 Jan 2022 15:10:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] gve: fix the wrong AdminQ buffer queue index check From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164338261153.2420.3816050464539840623.git-patchwork-notify@kernel.org> Date: Fri, 28 Jan 2022 15:10:11 +0000 References: <20220128104716.9020-1-haiyue.wang@intel.com> In-Reply-To: <20220128104716.9020-1-haiyue.wang@intel.com> To: Haiyue Wang Cc: netdev@vger.kernel.org, jeroendb@google.com, csully@google.com, awogbemila@google.com, davem@davemloft.net, kuba@kernel.org, bcf@google.com, willemb@google.com, shailend@google.com, yangchun@google.com, sagis@google.com, linux-kernel@vger.kernel.org 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, 28 Jan 2022 18:47:14 +0800 you wrote: > The 'tail' and 'head' are 'unsigned int' type free-running count, when > 'head' is overflow, the 'int i (= tail) < u32 head' will be false: > > Only '- loop 0: idx = 63' result is shown, so it needs to use 'int' type > to compare, it can handle the overflow correctly. > > typedef uint32_t u32; > > [...] Here is the summary with links: - [v2] gve: fix the wrong AdminQ buffer queue index check https://git.kernel.org/netdev/net/c/1f84a9450d75 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html