From: Jan Harkes <jaharkes@cs.cmu.edu>
To: Sam Protsenko <semen.protsenko@linaro.org>
Cc: Greg KH <gregkh@linuxfoundation.org>,
linux-scsi@vger.kernel.org, Praneeth Bajjuri <praneeth@ti.com>,
linux-kernel@vger.kernel.org, codalist@coda.cs.cmu.edu,
coda@cs.cmu.edu, Andy Shevchenko <andy.shevchenko@gmail.com>
Subject: Re: [PATCH v2] codafs: Fix build using bare-metal toolchain
Date: Tue, 30 Oct 2018 09:04:01 -0400 [thread overview]
Message-ID: <20181030130401.3ab5gl4fsvpa2fes@cs.cmu.edu> (raw)
In-Reply-To: <CAKaJLVtT+pFzOBjybAXmOC0mJyN=BHavsfAYEzgSWn-i7UYEjA@mail.gmail.com>
On Tue, Oct 30, 2018 at 02:01:04PM +0200, Sam Protsenko wrote:
> On Tue, Oct 30, 2018 at 8:34 AM, Greg KH <gregkh@linuxfoundation.org> 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@linaro.org> 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@linaro.org>
> >> > ---
> >>
> >> 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.
I thought I had responded, I didn't see a reason why one would want to
compile non-userspace kernel headers outside of the context of the
kernel and if you do have to do that why not just add -D__linux__.
However, I can also see the point that anything not in uapi/ pretty much
by definition will be compiled with __linux__ defined so it actually
doesn't make a discernable difference to just drop the ifdef and I'm
fine with a patch like this.
These trivial patches typically get picked up through kernel janitors,
or maybe an akpm linux-next patch queue. In fact, I'm not even sure if
there is a designated person I would be passing updates to, I've sent
patches to akpm, viro, hellwig, linus, and gregkh at various times.
Jan
next prev parent reply other threads:[~2018-10-30 13:04 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-29 20:03 Sam Protsenko
2018-10-29 20:05 ` Sam Protsenko
2018-10-29 20:08 ` Andy Shevchenko
2018-10-30 6:34 ` Greg KH
2018-10-30 12:01 ` Sam Protsenko
2018-10-30 13:04 ` Jan Harkes [this message]
2018-10-30 18:33 ` Sam Protsenko
2018-10-30 18:39 ` Andy Shevchenko
2018-11-23 20:07 ` Andy Shevchenko
2018-11-26 14:35 ` Sam Protsenko
2018-10-30 20:27 Sam Protsenko
2018-11-21 16:31 ` Sam Protsenko
2018-11-21 16:41 ` Andy Shevchenko
2018-11-21 16:57 ` Christoph Hellwig
2018-11-21 18:10 ` Jan Harkes
2018-11-21 19:36 ` Sam Protsenko
2018-11-21 19:39 ` Sam Protsenko
2018-11-21 22:48 ` Jan Harkes
2019-01-09 15:45 ` Sam Protsenko
2018-11-22 11:32 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181030130401.3ab5gl4fsvpa2fes@cs.cmu.edu \
--to=jaharkes@cs.cmu.edu \
--cc=andy.shevchenko@gmail.com \
--cc=coda@cs.cmu.edu \
--cc=codalist@coda.cs.cmu.edu \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=praneeth@ti.com \
--cc=semen.protsenko@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®