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

2015-11-13 Thread Geert Uytterhoeven
Hi Joe, On Fri, Nov 13, 2015 at 8:52 AM, Joe Perches wrote: > On Fri, 2015-11-13 at 08:37 +0100, Geert Uytterhoeven wrote: >> On Thu, Nov 12, 2015 at 10:03 PM, Arnd Bergmann >> wrote: >> > Building dwmac-ipq806x on a 64-bit architecture produces a harmless >> >

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

2015-11-12 Thread David Miller
From: Arnd Bergmann Date: Thu, 12 Nov 2015 22:03:40 +0100 > @@ -337,11 +337,11 @@ static int ipq806x_gmac_probe(struct platform_device > *pdev) >QSGMII_PHY_RX_SIGNAL_DETECT_EN | >QSGMII_PHY_TX_DRIVER_EN | >

[PATCH v2] 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:

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

2015-11-12 Thread Joe Perches
On Fri, 2015-11-13 at 08:37 +0100, Geert Uytterhoeven wrote: > On Thu, Nov 12, 2015 at 10:03 PM, Arnd Bergmann > wrote: > > Building dwmac-ipq806x on a 64-bit architecture produces a harmless > > warning from gcc: > > > > stmmac/dwmac-ipq806x.c: In function 'ipq806x_gmac_probe': >

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

2015-11-12 Thread Geert Uytterhoeven
On Thu, Nov 12, 2015 at 10:03 PM, Arnd Bergmann wrote: > 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 >