Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1942707pxb; Thu, 7 Oct 2021 19:29:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxS70QU6oHrau8x/uHOSpl1hVbSK5o6TmxFhhJ5AEFq6QtMm8FxW4242swp5XL9bod4MqyJ X-Received: by 2002:a17:90a:a609:: with SMTP id c9mr9476916pjq.134.1633660177326; Thu, 07 Oct 2021 19:29:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633660177; cv=none; d=google.com; s=arc-20160816; b=Eg294vZY6nbIdhphI+iS0XNZFK8kLdyPJQUHNWThNad0gBctvJnfylDKB7GY6ayFPb mOfycmdFG09GXd1vsWc9Up4oexAZEA9sy8igr/TRHNGI56bHDBIwLurwxihAI5RawVAZ Y64jqDxHPbiDDmhiKPP5SjTTADiXrD9OOi7iU52Mmcxj676JQx+8lLJJL/p1AZNcRKgv DH8chfesjGge31lZYsz3C/2/7zOUxGOVCmTUfmO89eoTTJ/JESLFVVemXiqH6COrwTmY KR8pILyJpsrCYMiEi6k4ZGtOdlK7SEv6U4OibXPQYJJDx0WmjIwRpytjzbgZ2jXQ7EDK WJXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=qaCWezjpVukNCparJF1mt5FU3uk0ka6RyhtKHw50Lkw=; b=G2y065yTkV/IxzHjk/X+5z3lRTZ+cXSXbBCX9pqQPG89cAxk8zzIx2RZqoiQjxwHPo D7Ra15MI2L6oKFDk8PwOMafSIZPh2bhXNyhiQg/wK16ojVvtR6Y0r5cTgEbUZWHEFIAp 6asc7SEBVSKzl/ATJt1RHS3g1MqL1V9wWKdcbxRWUdGk2i8MCrXSS59bywQTjOtKlDLs ycoubAChYfM/XQpN6E6oFn+HzcH7R4u/xj2WVUeDXfjqoUHHjPjfnY+R2Hz53NhTLoID kjgd6lC9i1cOIZpH8zSUEUUUMTl1NLesfwjM45Wn7YsZ+cGIBni5rKkTg2l/OptmPOiJ o1Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SKK1sBfz; 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 u18si1286177plq.139.2021.10.07.19.29.00; Thu, 07 Oct 2021 19:29:37 -0700 (PDT) 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=SKK1sBfz; 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 S235560AbhJHC3g (ORCPT + 99 others); Thu, 7 Oct 2021 22:29:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:46440 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbhJHC3f (ORCPT ); Thu, 7 Oct 2021 22:29:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4B40560F94; Fri, 8 Oct 2021 02:27:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633660060; bh=FgcSH3Si33sVXXIUFvV0ax/Fqii3xw5zeZrGjpX8KKY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SKK1sBfzl/9uXgZ0PdZzxMfxLBa3WSIhC5QA/C2zKix8igfWNygdm7wNR5VZsFSMb VND3vA9MKcRw8HJG7n2RSZM1/vhhGWAlDLH2OZDoh9W2QlCdMnBdYQ+ne3fC0OhhY4 FnJkXNkzhZUBM2go2P3Ib1t8OZV3MbPIBkx4jVoX6/6KlOycwinZPkmxnDWD3/IEfc JzMCXCiBOo4jBeI48AEDhSa3GRGrOwYY9UUp7KTmLDKleqnJEoizqutsLCAPPKHl4c y73K+ENXbJuUYdDJA+v1ZTCxvMMHEtBmCCpj1fF68y+W8/VnvCCRWjNEeB1HkYjP2o e+STnbr/ZfnEQ== Date: Thu, 7 Oct 2021 19:27:39 -0700 From: Jakub Kicinski To: Haiyang Zhang Cc: linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, kys@microsoft.com, sthemmin@microsoft.com, paulros@microsoft.com, shacharr@microsoft.com, olaf@aepfle.de, vkuznets@redhat.com, davem@davemloft.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] net: mana: Fix error handling in mana_create_rxq() Message-ID: <20211007192739.59feaf52@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1633646733-32720-1-git-send-email-haiyangz@microsoft.com> References: <1633646733-32720-1-git-send-email-haiyangz@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Oct 2021 15:45:33 -0700 Haiyang Zhang wrote: > Fix error handling in mana_create_rxq() when > cq->gdma_id >= gc->max_num_cqs. > > Signed-off-by: Haiyang Zhang Fixes: ca9c54d2d6a5 ("net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)")