[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190727142826.GA12889@bombadil.infradead.org>
Date: Sat, 27 Jul 2019 07:28:26 -0700
From: Matthew Wilcox <willy@...radead.org>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, aaro.koskinen@....fi,
arnd@...db.de
Subject: Re: [PATCH 2/2] staging/octeon: Allow test build on !MIPS
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
> instead for some of it?
I don't know. I went the route of copying each structure/enum wholesale
as I came across it in the build log rather than taking only the pieces
of it that I needed. My time versus a few hundred lines of source?
I think that a more wholesale restructuring of this driver would be
helpful; there are a number of structures that are only used in the
driver and not in the arch code, and those could then be removed from
the stubs file. But I have no long term investment in this driver;
it just annoyed me to not be able to build it.
> If not, that's fine, and all of this can go through net-next:
>
> Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists