Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E4A2C61DA4 for ; Mon, 13 Mar 2023 11:55:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbjCMLzD (ORCPT ); Mon, 13 Mar 2023 07:55:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229619AbjCMLyn (ORCPT ); Mon, 13 Mar 2023 07:54:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B106D222F6; Mon, 13 Mar 2023 04:53:21 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id EB1F76120F; Mon, 13 Mar 2023 11:53:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC306C4339E; Mon, 13 Mar 2023 11:53:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678708395; bh=3WDft/n4GF5Rgs+mmbtLNtJHS3/y5nz6oKBVuZwpT7Q=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=ZOKLklV9ZtG6sbjfhUXgYyQib9co1D+cKzh/5FKq0GwGhwSKAjc8ioIAFPnCCoect VrK5zsOnA4WKPsy261rlQO+wLPi2HtnkaTV0CnSDmS/7myGpgrImE4/C/LVychdfIL UlHHasvQl6wfzIIJQtJXgogK6OqEvuOpRchGfatVfNY3arQfDnj/vcQzOQQp5yKaHu 0/H/GQEZfgiQ+eMScWxRk3Ls6i8uJP3aDKz9AQq3X+vGSe/JxNEyoVmF/hbURbykaD jgwvIkTcYWtAZZjinkxrIwNBF1U1FCaT3CiBeuPVuQS/++FBnDLInEfuie+m5pKMBa UENu1J6foWE5g== From: Leon Romanovsky To: dennis.dalessandro@cornelisnetworks.com, void0red Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230227100212.910820-1-void0red@gmail.com> References: <20230227100212.910820-1-void0red@gmail.com> Subject: Re: [PATCH] IB/hifi1: add a null check of kzalloc_node in hfi1_ipoib_txreq_init Message-Id: <167870839218.138590.2128615459468695577.b4-ty@kernel.org> Date: Mon, 13 Mar 2023 13:53:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12-dev-a055d Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 27 Feb 2023 18:02:12 +0800, void0red wrote: > kzalloc_node may fails, check it and do the cleanup. > > Applied, thanks! [1/1] IB/hifi1: add a null check of kzalloc_node in hfi1_ipoib_txreq_init https://git.kernel.org/rdma/rdma/c/c874ad879c2f29 Best regards, -- Leon Romanovsky