From mboxrd@z Thu Jan 1 00:00:00 1970 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 B525AC4332F for ; Thu, 20 Oct 2022 00:28:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229678AbiJTA2g (ORCPT ); Wed, 19 Oct 2022 20:28:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbiJTA2f (ORCPT ); Wed, 19 Oct 2022 20:28:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD1EF193ED6 for ; Wed, 19 Oct 2022 17:28:34 -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 72F936171B for ; Thu, 20 Oct 2022 00:28:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 806F2C433D6; Thu, 20 Oct 2022 00:28:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666225713; bh=02W9vGw+S4NLpxD/zMPU2H0uffVVfaom4iPmGZMAVr4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LnDFqHOqNCyOEjBbYnAzgQKMPEEDMHavsygkLgentESRkl1mgtRKgkpkgoHgEz6sI c0yip0lMrLVsvtxk/AFx6H4dUQD6wOlYj0yPs23u0ZmUdOfTrhrwliJ1GV/sXDqKUF Biwad5qItDO1e8TqgQ0S7dsq94gX/0xo4GO81ZsRgmfgAhTRKEfWSD9s8UuIs8h7Cu XUDjauryubhcR/+mF2W+NC8dQh2C8Cc6YK24XKqTlJc7P/XDDRGCzfWml4Cpw276AH 8JGdkCi0Khb3iu1V0uTQddAzwjYO2OVwB0XOaKKb3SH4FEyR5C9CUZawP0E0ncWOjJ a62OsK71cHsLA== Date: Wed, 19 Oct 2022 17:28:32 -0700 From: Jakub Kicinski To: Leon Romanovsky Cc: Yang Yingliang , netdev@vger.kernel.org, yisen.zhuang@huawei.com, salil.mehta@huawei.com, davem@davemloft.net Subject: Re: [PATCH net] net: hns: fix possible memory leak in hnae_ae_register() Message-ID: <20221019172832.712eb056@kernel.org> In-Reply-To: References: <20221018122451.1749171-1-yangyingliang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 18 Oct 2022 15:58:38 +0300 Leon Romanovsky wrote: > The change itself is ok. Also the .release function is empty which is another bad smell? > Reviewed-by: Leon Romanovsky Thanks!