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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 443EEC2D0A3 for ; Mon, 26 Oct 2020 19:21:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 01F942085B for ; Mon, 26 Oct 2020 19:21:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1792931AbgJZTVG (ORCPT ); Mon, 26 Oct 2020 15:21:06 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:45482 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2504798AbgJZTVF (ORCPT ); Mon, 26 Oct 2020 15:21:05 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kX838-003f1h-8p; Mon, 26 Oct 2020 20:20:58 +0100 Date: Mon, 26 Oct 2020 20:20:58 +0100 From: Andrew Lunn To: Arnd Bergmann Cc: Heiner Kallweit , Florian Fainelli , "David S. Miller" , Arnd Bergmann , Russell King , Ioana Ciornei , Bartosz Golaszewski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mdio: use inline functions for to_mdio_device() etc Message-ID: <20201026192058.GP752111@lunn.ch> References: <20201026165113.3723159-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201026165113.3723159-1-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Oct 26, 2020 at 05:51:09PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann .. > Redefine the macros in linux/mdio.h as inline functions to avoid this > problem. > > Fixes: a9049e0c513c ("mdio: Add support for mdio drivers.") > Signed-off-by: Arnd Bergmann Hi Arnd It is nice to have the additional type checking. Since you added a Fixes: tag, do you want this in stable? netdev puts into the Subject line the tree it is intended for: [PATCH net v1] or [PATCH net-next v1] Anyway: Reviewed-by: Andrew Lunn Andrew