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 A874CC4332F for ; Sun, 2 Jan 2022 16:44:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229513AbiABQop (ORCPT ); Sun, 2 Jan 2022 11:44:45 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:47338 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbiABQon (ORCPT ); Sun, 2 Jan 2022 11:44:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=fnD2dhLxoIMRnhwXOVwb+QU/PmiAJJndrOMvghYo6yA=; b=KTE0Bn+UtkcO6cFbAWRG0STzQK h7JsFqMq/J9r1KQ82bKg+X+ANroDnLWBkNemhdsD0mdB9mEqVhbE4ry4cwVQvTkRT+Wjkx/WtsX0d xPNQtl2anV+BiNPhMcdHmhDujw+shyQc1uIcmuM5tMKoExXO3axmESqWX0E9j2o4Cqq0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1n43yJ-000Jsy-5N; Sun, 02 Jan 2022 17:44:39 +0100 Date: Sun, 2 Jan 2022 17:44:39 +0100 From: Andrew Lunn To: Daniel Golle Cc: linux-mediatek@lists.infradead.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Felix Fietkau , John Crispin , Sean Wang , Mark Lee , "David S. Miller" , Jakub Kicinski , Matthias Brugger , Russell King , Michael Lee , Heiner Kallweit Subject: Re: [PATCH v10 2/3] net: mdio: add helpers to extract clause 45 regad and devad fields Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 02, 2022 at 03:48:50PM +0000, Daniel Golle wrote: > From: "Russell King (Oracle)" > > Add a couple of helpers and definitions to extract the clause 45 regad > and devad fields from the regnum passed into MDIO drivers. > > Tested-by: Daniel Golle > Signed-off-by: Russell King (Oracle) > Signed-off-by: Daniel Golle Reviewed-by: Andrew Lunn Andrew