Re: [PATCH 4/8] riscv: ensure RISC-V C model definitions are passed to static analyzers

From: Luc Van Oostenryck
Date: Fri Oct 18 2019 - 01:25:15 EST


On Thu, Oct 17, 2019 at 09:39:29PM -0700, Paul Walmsley wrote:
> On Fri, 18 Oct 2019, Luc Van Oostenryck wrote:
> > On Thu, Oct 17, 2019 at 05:49:25PM -0700, Paul Walmsley wrote:
....
> > > ifeq ($(CONFIG_CMODEL_MEDANY),y)
> > > KBUILD_CFLAGS += -mcmodel=medany
> > > + CHECKFLAGS += -D__riscv_cmodel_medany
> >
> > I can teach sparse about this in the following days.
>
> That would be great. Would you be willing to follow up with me via E-mail
> or mailing list post when it's fixed? If so, then in the meantime, I'll
> just drop this patch.

For sure.
-- Luc