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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 48989CF11D0 for ; Thu, 10 Oct 2024 12:01:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AeFNsmApzoKG48B3eo4rkA84O45RFKBTrrjwgG+h8ic=; b=Aj3XJ3fxcQiBAqwKE14i7Q0fku 9iAj/x/ZnsPzK8ndARFKkJZytH0VC71AkUlmQi+QQtuQZWRjnyfEAsdqelck+pFj4YJfjoHogXQsL jU3xzUitqWO38Y4+8TBwBufol1YgguF4tLj1wybByJ2tnefZ37SWW+JJ9k4fLlfj7xlsTeFp2y+CF 7tlCr1NOwJpD7qxTAO/lERW3SEO+WA8wR3seXCOd4kpRPrSAdipAvIDfD3Kg58ufWfEoGV4Ie7YEx lfqNE3Colj0Ij/fs6SdMlrFUxSY5F6XY9jRYpbhQQktM753hpnO9xmMfLf0J+7L1G+U+16b/vYAvO 9rcrxEtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syrqz-0000000CdGd-1KGr; Thu, 10 Oct 2024 12:01:13 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syptu-0000000CJO8-1scJ for linux-arm-kernel@bombadil.infradead.org; Thu, 10 Oct 2024 09:56:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=AeFNsmApzoKG48B3eo4rkA84O45RFKBTrrjwgG+h8ic=; b=gUJ4qtC/soooOhFIn1mQEt7lAR bzRWrjeh/iFojhldKnAY/K1HBom2BDx/NSrjZC9qkTFZSuhvxaVnCaiFrJdsvLcRl8epoUCLObAk/ fyebS4jRjMcJh4T3hhBIiQyWcNA7OZLpvJiSOIaaT7OVNZB1PB3TlbgeBUaHkMMAnM8EuGitMqmJd uyDKJRWlZWF8YbncBm4jb6iZge4yWLBD7V3wgKRfwld8vr7skbFVOVOb2dCSSB2vul9E6UTtgTyz9 haHCdVcDYvsFeYXfwMqax3QX9uWsY5V9/ZTmOaiFXJJ1fSBQeFtb0OEqDCbdzPH0QrjVZE5fOj7+f 15kuFcXw==; Received: from nyc.source.kernel.org ([147.75.193.91]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syptr-00000005Kmp-13bb for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 09:56:04 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 94EFFA415FB; Thu, 10 Oct 2024 09:55:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7452C4CEC5; Thu, 10 Oct 2024 09:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728554159; bh=T/HXc6fz+2YMncf6vponWtWSqH4dAt2B9V90Xi+T88o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VoOGUrI6bGAYIyuG56Vvp7bAXJ3/rdjxHJ35X8TvI1beB31gRFDN/2Z86x8xUlsyo IJ9wop8VJ6zRFW7NzK0QxcbnXwpA5HO51pJL3+RrZiJrxD2YvQYy+No/CzSFqIrv+1 plCcegEad1YkPnFOfhwNXrgUQwdD/KRLUwLJPYvq8oDqpf9mtET1wbw+XLtL3YU0jv nt0NFieDbGhmGBrbVFdued9l/eT/GOIY8r1kRO6qqcZgnR1xzZvh3k7SlTquyGvCSL UOz6xIIa2IAizUP/z6cxaJnIWEI97HOilW7dqTZ8wh5mj9iKExQXfrCmWZH8jHQC9V 0YTdTmpT4BjTw== Date: Thu, 10 Oct 2024 10:55:54 +0100 From: Simon Horman To: Radhey Shyam Pandey Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, michal.simek@amd.com, harini.katakam@amd.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, git@amd.com, Abin Joseph Subject: Re: [PATCH net-next v3 2/3] net: emaclite: Replace alloc_etherdev() with devm_alloc_etherdev() Message-ID: <20241010095554.GC1098236@kernel.org> References: <1728491303-1456171-1-git-send-email-radhey.shyam.pandey@amd.com> <1728491303-1456171-3-git-send-email-radhey.shyam.pandey@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1728491303-1456171-3-git-send-email-radhey.shyam.pandey@amd.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241010_105603_465991_BBCAFCFD X-CRM114-Status: UNSURE ( 7.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Oct 09, 2024 at 09:58:22PM +0530, Radhey Shyam Pandey wrote: > From: Abin Joseph > > Use device managed ethernet device allocation to simplify the error > handling logic. No functional change. > > Signed-off-by: Abin Joseph > Signed-off-by: Radhey Shyam Pandey Reviewed-by: Simon Horman