Re: [PATCH] cxgb4: unexport cxgb4_dcb_enabled

2016-10-02 Thread David Miller
From: Arnd Bergmann Date: Fri, 30 Sep 2016 18:15:33 +0200 > A recent cleanup marked cxgb4_dcb_enabled as 'static', which is correct, but > this ignored > how the symbol is also exported. In addition, the export can be compiled out > when modules > are disabled, causing a harmless compiler warni

[PATCH] cxgb4: unexport cxgb4_dcb_enabled

2016-09-30 Thread Arnd Bergmann
A recent cleanup marked cxgb4_dcb_enabled as 'static', which is correct, but this ignored how the symbol is also exported. In addition, the export can be compiled out when modules are disabled, causing a harmless compiler warning in configurations for which it is not used at all: drivers/net/et