Re: [PATCH] net: nhs: fix 32-bit build warning

2015-10-11 Thread Joe Perches
On Tue, 2015-10-06 at 23:53 +0200, Arnd Bergmann wrote: > diff --git a/drivers/net/ethernet/hisilicon/hns/hnae.c > b/drivers/net/ethernet/hisilicon/hns/hnae.c [] > @@ -448,12 +448,12 @@ static ssize_t handles_show(struct device *dev, > s += sprintf(buf + s, "handle %d (eport_id=%u

Re: [PATCH] net: nhs: fix 32-bit build warning

2015-10-11 Thread huangdaode
On 2015/10/12 4:13, Joe Perches wrote: On Tue, 2015-10-06 at 23:53 +0200, Arnd Bergmann wrote: diff --git a/drivers/net/ethernet/hisilicon/hns/hnae.c b/drivers/net/ethernet/hisilicon/hns/hnae.c [] @@ -448,12 +448,12 @@ static ssize_t handles_show(struct device *dev, s +=

Re: [PATCH] net: nhs: fix 32-bit build warning

2015-10-08 Thread David Miller
From: Arnd Bergmann Date: Tue, 06 Oct 2015 23:53:57 +0200 > The recently added hns driver causes a build warning in ARM > allmodconfig builds: > > drivers/net/ethernet/hisilicon/hns/hnae.c: In function 'handles_show': > drivers/net/ethernet/hisilicon/hns/hnae.c:452:13: warning:

[PATCH] net: nhs: fix 32-bit build warning

2015-10-06 Thread Arnd Bergmann
The recently added hns driver causes a build warning in ARM allmodconfig builds: drivers/net/ethernet/hisilicon/hns/hnae.c: In function 'handles_show': drivers/net/ethernet/hisilicon/hns/hnae.c:452:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] j,

Re: [PATCH] net: nhs: fix 32-bit build warning

2015-10-06 Thread Sergei Shtylyov
Hello. Note the typo in the subject: s/nhs/hns/. MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html