Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-11-06 Thread Guenter Roeck
On 11/06/2015 12:30 PM, Arnd Bergmann wrote: On Friday 06 November 2015 11:16:52 Guenter Roeck wrote: On Wed, Oct 21, 2015 at 02:53:20PM -0700, Guenter Roeck wrote: On Wed, Oct 21, 2015 at 09:11:53PM +0200, Arnd Bergmann wrote: On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote:

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-11-06 Thread Arnd Bergmann
On Friday 06 November 2015 11:16:52 Guenter Roeck wrote: > On Wed, Oct 21, 2015 at 02:53:20PM -0700, Guenter Roeck wrote: > > On Wed, Oct 21, 2015 at 09:11:53PM +0200, Arnd Bergmann wrote: > > > On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote: > > > > Anyway, if it gets that complicated,

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-11-06 Thread Guenter Roeck
Arnd, On Wed, Oct 21, 2015 at 02:53:20PM -0700, Guenter Roeck wrote: > On Wed, Oct 21, 2015 at 09:11:53PM +0200, Arnd Bergmann wrote: > > On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote: > > > > > > > > Something like this? > > > > > > > > static inline u64 of_translate_address(struct

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-11-06 Thread Guenter Roeck
On 11/06/2015 12:30 PM, Arnd Bergmann wrote: On Friday 06 November 2015 11:16:52 Guenter Roeck wrote: On Wed, Oct 21, 2015 at 02:53:20PM -0700, Guenter Roeck wrote: On Wed, Oct 21, 2015 at 09:11:53PM +0200, Arnd Bergmann wrote: On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote:

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-11-06 Thread Guenter Roeck
Arnd, On Wed, Oct 21, 2015 at 02:53:20PM -0700, Guenter Roeck wrote: > On Wed, Oct 21, 2015 at 09:11:53PM +0200, Arnd Bergmann wrote: > > On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote: > > > > > > > > Something like this? > > > > > > > > static inline u64 of_translate_address(struct

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-11-06 Thread Arnd Bergmann
On Friday 06 November 2015 11:16:52 Guenter Roeck wrote: > On Wed, Oct 21, 2015 at 02:53:20PM -0700, Guenter Roeck wrote: > > On Wed, Oct 21, 2015 at 09:11:53PM +0200, Arnd Bergmann wrote: > > > On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote: > > > > Anyway, if it gets that complicated,

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread David Miller
From: Guenter Roeck Date: Wed, 21 Oct 2015 10:03:05 -0700 > On 10/21/2015 08:57 AM, Arnd Bergmann wrote: >> On Wednesday 21 October 2015 08:33:11 David Miller wrote: >>> From: Guenter Roeck >>> Date: Wed, 21 Oct 2015 07:56:18 -0700 >>> > @@ -57,6 +57,11 @@ extern int of_dma_get_range(struct

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Guenter Roeck
On Wed, Oct 21, 2015 at 09:11:53PM +0200, Arnd Bergmann wrote: > On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote: > > > > > > Something like this? > > > > > > static inline u64 of_translate_address(struct device_node *np, const > > > __be32 *addr) > > > { > > > #if defined(CONFIG_SPARC)

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Arnd Bergmann
On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote: > > > > Something like this? > > > > static inline u64 of_translate_address(struct device_node *np, const __be32 > > *addr) > > { > > #if defined(CONFIG_SPARC) || defined(CONFIG_M68K) > > int pna = of_n_addr_cells(np); > > u64

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Guenter Roeck
On 10/21/2015 08:57 AM, Arnd Bergmann wrote: On Wednesday 21 October 2015 08:33:11 David Miller wrote: From: Guenter Roeck Date: Wed, 21 Oct 2015 07:56:18 -0700 @@ -57,6 +57,11 @@ extern int of_dma_get_range(struct device_node *np, u64 *dma_addr, u64 *paddr, u64

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Arnd Bergmann
On Wednesday 21 October 2015 08:33:11 David Miller wrote: > From: Guenter Roeck > Date: Wed, 21 Oct 2015 07:56:18 -0700 > > >> @@ -57,6 +57,11 @@ extern int of_dma_get_range(struct device_node *np, > >> u64 *dma_addr, > >> u64 *paddr, u64 *size); > >> extern bool

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread David Miller
From: Guenter Roeck Date: Wed, 21 Oct 2015 07:56:18 -0700 >> @@ -57,6 +57,11 @@ extern int of_dma_get_range(struct device_node *np, >> u64 *dma_addr, >> u64 *paddr, u64 *size); >> extern bool of_dma_is_coherent(struct device_node *np); >> #else /*

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread David Miller
From: Arnd Bergmann Date: Wed, 21 Oct 2015 16:39:02 +0200 > How about this version? Yes, that is a million times better. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread David Miller
From: Guenter Roeck Date: Wed, 21 Oct 2015 07:29:33 -0700 > The Hisilicon network driver does not build for Sparc. Enabling > COMPILE_TEST for it causes Sparc allmodconfig/allyesconfig builds > to fail with > > drivers/net/ethernet/hisilicon/hns_mdio.c: In function 'hns_mdio_bus_name': >

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Guenter Roeck
Hi Arnd, On 10/21/2015 07:39 AM, Arnd Bergmann wrote: On Wednesday 21 October 2015 07:29:33 Guenter Roeck wrote: The Hisilicon network driver does not build for Sparc. Enabling COMPILE_TEST for it causes Sparc allmodconfig/allyesconfig builds to fail with

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Arnd Bergmann
On Wednesday 21 October 2015 07:29:33 Guenter Roeck wrote: > The Hisilicon network driver does not build for Sparc. Enabling > COMPILE_TEST for it causes Sparc allmodconfig/allyesconfig builds > to fail with > > drivers/net/ethernet/hisilicon/hns_mdio.c: In function 'hns_mdio_bus_name': >

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread David Miller
From: Guenter Roeck Date: Wed, 21 Oct 2015 07:56:18 -0700 >> @@ -57,6 +57,11 @@ extern int of_dma_get_range(struct device_node *np, >> u64 *dma_addr, >> u64 *paddr, u64 *size); >> extern bool of_dma_is_coherent(struct device_node *np); >>

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Arnd Bergmann
On Wednesday 21 October 2015 07:29:33 Guenter Roeck wrote: > The Hisilicon network driver does not build for Sparc. Enabling > COMPILE_TEST for it causes Sparc allmodconfig/allyesconfig builds > to fail with > > drivers/net/ethernet/hisilicon/hns_mdio.c: In function 'hns_mdio_bus_name': >

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Guenter Roeck
Hi Arnd, On 10/21/2015 07:39 AM, Arnd Bergmann wrote: On Wednesday 21 October 2015 07:29:33 Guenter Roeck wrote: The Hisilicon network driver does not build for Sparc. Enabling COMPILE_TEST for it causes Sparc allmodconfig/allyesconfig builds to fail with

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread David Miller
From: Guenter Roeck Date: Wed, 21 Oct 2015 07:29:33 -0700 > The Hisilicon network driver does not build for Sparc. Enabling > COMPILE_TEST for it causes Sparc allmodconfig/allyesconfig builds > to fail with > > drivers/net/ethernet/hisilicon/hns_mdio.c: In function

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread David Miller
From: Arnd Bergmann Date: Wed, 21 Oct 2015 16:39:02 +0200 > How about this version? Yes, that is a million times better. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Arnd Bergmann
On Wednesday 21 October 2015 08:33:11 David Miller wrote: > From: Guenter Roeck > Date: Wed, 21 Oct 2015 07:56:18 -0700 > > >> @@ -57,6 +57,11 @@ extern int of_dma_get_range(struct device_node *np, > >> u64 *dma_addr, > >> u64 *paddr, u64 *size);

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Guenter Roeck
On 10/21/2015 08:57 AM, Arnd Bergmann wrote: On Wednesday 21 October 2015 08:33:11 David Miller wrote: From: Guenter Roeck Date: Wed, 21 Oct 2015 07:56:18 -0700 @@ -57,6 +57,11 @@ extern int of_dma_get_range(struct device_node *np, u64 *dma_addr,

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Arnd Bergmann
On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote: > > > > Something like this? > > > > static inline u64 of_translate_address(struct device_node *np, const __be32 > > *addr) > > { > > #if defined(CONFIG_SPARC) || defined(CONFIG_M68K) > > int pna = of_n_addr_cells(np); > > u64

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Guenter Roeck
On Wed, Oct 21, 2015 at 09:11:53PM +0200, Arnd Bergmann wrote: > On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote: > > > > > > Something like this? > > > > > > static inline u64 of_translate_address(struct device_node *np, const > > > __be32 *addr) > > > { > > > #if defined(CONFIG_SPARC)

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread David Miller
From: Guenter Roeck Date: Wed, 21 Oct 2015 10:03:05 -0700 > On 10/21/2015 08:57 AM, Arnd Bergmann wrote: >> On Wednesday 21 October 2015 08:33:11 David Miller wrote: >>> From: Guenter Roeck >>> Date: Wed, 21 Oct 2015 07:56:18 -0700 >>> > @@ -57,6