From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755928AbdCUCct (ORCPT ); Mon, 20 Mar 2017 22:32:49 -0400 Received: from smtprelay.synopsys.com ([198.182.60.111]:39782 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754594AbdCUCcr (ORCPT ); Mon, 20 Mar 2017 22:32:47 -0400 Subject: Re: [PATCH 1/2] [net-next] net: dwc-xlgmac: include dcbnl.h To: Arnd Bergmann , Jie Deng References: <20170320085123.1032301-1-arnd@arndb.de> CC: "David S. Miller" , , From: Jie Deng Message-ID: <0d31b33a-d682-f6d5-7bdc-1cce7f20e52f@synopsys.com> Date: Tue, 21 Mar 2017 10:22:15 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170320085123.1032301-1-arnd@arndb.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.13.184.19] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017/3/20 16:51, Arnd Bergmann wrote: > Without this header, we can run into a build error: > > drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c: In function 'xlgmac_config_queue_mapping': > drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1548:36: error: 'IEEE_8021QAZ_MAX_TCS' undeclared (first use in this function) > prio_queues = min_t(unsigned int, IEEE_8021QAZ_MAX_TCS, > > Fixes: 65e0ace2c5cd ("net: dwc-xlgmac: Initial driver for DesignWare Enterprise Ethernet") > Signed-off-by: Arnd Bergmann > --- > drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c b/drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c > index 5cf3e90d4834..1e25a86f6a27 100644 > --- a/drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c > +++ b/drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c > @@ -22,6 +22,7 @@ > #include > #include > #include > +#include > > #include "dwc-xlgmac.h" > #include "dwc-xlgmac-reg.h" Thanks. Reviewed-by: Jie Deng