Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71A9D72 for ; Tue, 26 Oct 2021 19:12:59 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 411056108D; Tue, 26 Oct 2021 19:12:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635275579; bh=VHYkKyvnA6mMb891JpWFq+i3U7jSXk1ZXJNgw0mug/M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BzD1QQR9YLS9yCGVUAR7NKkzEkoIahg7EU6BK7WNBJy2IVdLYHrX6vYDn5CUgDC5f 4Lwnlf8xNZDfDg0rl6h8kWEZK4xZtGRYss/E84uLjSqECpekUE4zUVtbNqx3vRxDtw qLQvr/N739diFcy0XrY00N71uBP7ALhH6RGm9mno= Date: Tue, 26 Oct 2021 21:12:54 +0200 From: Greg KH To: Jakub Kicinski Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH net-next] staging: use of_get_ethdev_address() Message-ID: References: <20211026175038.3197397-1-kuba@kernel.org> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211026175038.3197397-1-kuba@kernel.org> On Tue, Oct 26, 2021 at 10:50:38AM -0700, Jakub Kicinski wrote: > Use the new of_get_ethdev_address() helper for the cases > where dev->dev_addr is passed in directly as the destination. > > @@ > expression dev, np; > @@ > - of_get_mac_address(np, dev->dev_addr) > + of_get_ethdev_address(np, dev) > > Signed-off-by: Jakub Kicinski > --- > Hi Greg, this needs to go to net-next, the helper is new. > --- > drivers/staging/octeon/ethernet.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Greg Kroah-Hartman