Re: [PATCH v2] codafs: Fix build using bare-metal toolchain

From: Sam Protsenko
Date: Tue Oct 30 2018 - 08:01:10 EST

On Tue, Oct 30, 2018 at 8:34 AM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, Oct 29, 2018 at 10:05:49PM +0200, Sam Protsenko wrote:
>> Hi Greg,
>> On Mon, Oct 29, 2018 at 10:03 PM, Sam Protsenko
>> <semen.protsenko@xxxxxxxxxx> wrote:
>> > The kernel is self-contained project and can be built with bare-metal
>> > toolchain. But bare-metal toolchain doesn't define __linux__. Because of
>> > this u_quad_t type is not defined when using bare-metal toolchain and
>> > codafs build fails. This patch fixes it by defining u_quad_t type
>> > unconditionally.
>> >
>> > Signed-off-by: Sam Protsenko <semen.protsenko@xxxxxxxxxx>
>> > ---
>> Can you please pull this one, if this applicable? I sent it a while
>> ago, but I guess it got lost in mailing list. It might be also
>> applicable to stable branch (as it fixes allmodconfig build for ARM
>> with bare-metal toolchain).
> Why are you asking me? I'm not the maintainer of this file :(
> confused,

Sorry to bother you. I just thought you might be interested in this
one, as it fixes build for "allmodconfig" configuration, hence it can
be related to stable branch. Also, maintainers didn't respond to that
patch, so I'm kinda dead in the water.

Anyway, will try to ping maintainers one more time.

> greg k-h