Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp349688pxj; Fri, 11 Jun 2021 00:19:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOC8+Dy7VcmmGWB489ClWNVLzUptbJmCgbBYrJMELa8BjID43N2Vu3yN5v6eYjC7k1kHxb X-Received: by 2002:a05:6402:2049:: with SMTP id bc9mr2263463edb.298.1623395976128; Fri, 11 Jun 2021 00:19:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623395976; cv=none; d=google.com; s=arc-20160816; b=lg7xGhuJIL5GKfhykSwJgXil9JEjLkltMzHy+8lfMYXq5YmFq56LJ8TaAGFjD+E4V9 o+pfczLih1HzZF/obDWXSwmSjdsrNgIRE567IHHNBXIjZy5mcc2JCXinFMQ6KidoDQIk ddEXB8aHDgLefx24qkDjHRLysVgbiJ6EVsme2JERDOyVbalzwoA5zaf7uTfOs7WteKCm OEObiS1rV1qUs0NWKaIJe/sHW0pWYZvgZWR5sajHjdE8RQwZCgr0VvOzpsdK17HRP4NN DomT9XwbFReYas8ODKpHVKNPf2qGCNoBr9LInPHSiltVSov+TixEi2dynGj/qYEw8VCA B41w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=gH/Ih8kJTSKPOBIa7zDAn+lS9fHfC7yufuSjxxym6oY=; b=FBK9Y1shKmttJ4bBwzCr1XFayNrjx7cUGRU3BxJINhwFVpGe+o7N2WBYHEyq0wrbez l8W0olqQjEP+O6U+tL5ON7cEDaGjh/nWU1gXLluSqG38q+c6ljl7hzkfI23XF1wHSXXQ eSFdYrFH04HXyCKtVsLhL1K/j1blIF68AXcHH/myHr93wYEBd73unFqu5K3fxwt89Iok vkQAYS+pHHsiigg/ui4F+KiuFu9lK7fvsucw7RirZEN+i/7r62nmH+XWXJcFDZhiaBti iUX+79Fczt05Gget+eN6RGx2lyWkXRxtPM/NNos7zKaJyBoyWEc8XetMXIEaMCvrhP9l v1EA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r12si4124624edo.370.2021.06.11.00.19.12; Fri, 11 Jun 2021 00:19:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230205AbhFKHTN (ORCPT + 99 others); Fri, 11 Jun 2021 03:19:13 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:50546 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbhFKHTM (ORCPT ); Fri, 11 Jun 2021 03:19:12 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1lrbPi-00057q-HA; Fri, 11 Jun 2021 15:17:10 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1lrbPX-000812-Tj; Fri, 11 Jun 2021 15:16:59 +0800 Date: Fri, 11 Jun 2021 15:16:59 +0800 From: Herbert Xu To: Tong Tiangen Cc: "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] crypto: nitrox - fix unchecked variable in nitrox_register_interrupts Message-ID: <20210611071659.GA23016@gondor.apana.org.au> References: <20210601100155.69681-1-tongtiangen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210601100155.69681-1-tongtiangen@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Jun 01, 2021 at 06:01:55PM +0800, Tong Tiangen wrote: > Function nitrox_register_interrupts leaves variable 'nr_vecs' unchecked, which > would be use as kcalloc parameter later. > > Fixes: 5155e118dda9 ("crypto: cavium/nitrox - use pci_alloc_irq_vectors() while enabling MSI-X.") > Signed-off-by: Tong Tiangen > --- > drivers/crypto/cavium/nitrox/nitrox_isr.c | 4 ++++ > 1 file changed, 4 insertions(+) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt