Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935401AbcKQSbT (ORCPT ); Thu, 17 Nov 2016 13:31:19 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:40986 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934512AbcKQSbQ (ORCPT ); Thu, 17 Nov 2016 13:31:16 -0500 Date: Thu, 17 Nov 2016 13:31:14 -0500 (EST) Message-Id: <20161117.133114.1570650287863112660.davem@davemloft.net> To: clabbe.montjoie@gmail.com Cc: peppe.cavallaro@st.com, alexandre.torgue@st.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] net: stmmac: replace if (netif_msg_type) by their netif_xxx counterpart From: David Miller In-Reply-To: <1479323381-26639-3-git-send-email-clabbe.montjoie@gmail.com> References: <1479323381-26639-1-git-send-email-clabbe.montjoie@gmail.com> <1479323381-26639-3-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 17 Nov 2016 09:31:47 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 393 Lines: 12 From: Corentin Labbe Date: Wed, 16 Nov 2016 20:09:41 +0100 > From: LABBE Corentin > > As sugested by Joe Perches, we could replace all > if (netif_msg_type(priv)) dev_xxx(priv->devices, ...) > by the simpler macro netif_xxx(priv, hw, priv->dev, ...) > > Signed-off-by: Corentin Labbe Applied to net-next.