Re: [PATCH] stmmac: avoid ipq806x constant overflow warning

2015-11-12 Thread Arnd Bergmann
On Thursday 12 November 2015 12:25:28 David Miller wrote: > From: Arnd Bergmann > Date: Thu, 12 Nov 2015 15:12:48 +0100 > > > Building dwmac-ipq806x on a 64-bit architecture produces a harmless > > warning from gcc: > > > > stmmac/dwmac-ipq806x.c: In function 'ipq806x_gmac_probe': > > include/li

Re: [PATCH] stmmac: avoid ipq806x constant overflow warning

2015-11-12 Thread David Miller
From: Arnd Bergmann Date: Thu, 12 Nov 2015 15:12:48 +0100 > Building dwmac-ipq806x on a 64-bit architecture produces a harmless > warning from gcc: > > stmmac/dwmac-ipq806x.c: In function 'ipq806x_gmac_probe': > include/linux/bitops.h:6:19: warning: overflow in implicit constant > conversion [-

[PATCH] stmmac: avoid ipq806x constant overflow warning

2015-11-12 Thread Arnd Bergmann
Building dwmac-ipq806x on a 64-bit architecture produces a harmless warning from gcc: stmmac/dwmac-ipq806x.c: In function 'ipq806x_gmac_probe': include/linux/bitops.h:6:19: warning: overflow in implicit constant conversion [-Woverflow] val = QSGMII_PHY_CDR_EN | stmmac/dwmac-ipq806x.c:333:8: not