Re: [PATCH 2/2] staging/octeon: Allow test build on !MIPS

2019-07-29 Thread David Miller
From: Matthew Wilcox Date: Fri, 26 Jul 2019 10:44:25 -0700 > From: "Matthew Wilcox (Oracle)" > > Add compile test support by moving all includes of files under > asm/octeon into octeon-ethernet.h, and if we're not on MIPS, > stub out all the calls into the octeon support code in octeon-stubs.h

Re: [PATCH 2/2] staging/octeon: Allow test build on !MIPS

2019-07-27 Thread Greg KH
On Sat, Jul 27, 2019 at 07:28:26AM -0700, Matthew Wilcox wrote: > On Sat, Jul 27, 2019 at 12:57:06PM +0200, Greg KH wrote: > > No real objection from me, having this driver able to be built on > > non-mips systems would be great. > > > > But wow, that stubs.h file is huge, you really need all of t

Re: [PATCH 2/2] staging/octeon: Allow test build on !MIPS

2019-07-27 Thread Matthew Wilcox
On Sat, Jul 27, 2019 at 12:57:06PM +0200, Greg KH wrote: > No real objection from me, having this driver able to be built on > non-mips systems would be great. > > But wow, that stubs.h file is huge, you really need all of that? > There's no way to include the files from the mips "core" directly >

Re: [PATCH 2/2] staging/octeon: Allow test build on !MIPS

2019-07-27 Thread Greg KH
On Fri, Jul 26, 2019 at 10:44:25AM -0700, Matthew Wilcox wrote: > From: "Matthew Wilcox (Oracle)" > > Add compile test support by moving all includes of files under > asm/octeon into octeon-ethernet.h, and if we're not on MIPS, > stub out all the calls into the octeon support code in octeon-stubs

[PATCH 2/2] staging/octeon: Allow test build on !MIPS

2019-07-26 Thread Matthew Wilcox
From: "Matthew Wilcox (Oracle)" Add compile test support by moving all includes of files under asm/octeon into octeon-ethernet.h, and if we're not on MIPS, stub out all the calls into the octeon support code in octeon-stubs.h Signed-off-by: Matthew Wilcox (Oracle) --- drivers/staging/octeon/Kc