[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191018040237.3eyrfrty72r63pkz@ltop.local>
Date: Fri, 18 Oct 2019 06:02:38 +0200
From: Luc Van Oostenryck <luc.vanoostenryck@...il.com>
To: Paul Walmsley <paul.walmsley@...ive.com>
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/8] riscv: init: merge split string literals in
preprocessor directive
On Thu, Oct 17, 2019 at 05:49:24PM -0700, Paul Walmsley wrote:
> sparse complains loudly when string literals associated with
> preprocessor directives are split into multiple, separately quoted
> strings across different lines:
...
> #ifndef __riscv_cmodel_medany
> -#error "setup_vm() is called from head.S before relocate so it should "
> - "not use absolute addressing."
> +#error "setup_vm() is called from head.S before relocate so it should not use absolute addressing."
> #endif
Using a blacslash should do the trick :
#error "blablablablablablablablablablablabla" \
"and blablabla again"
Or if need I cn fix Sparse if needed and desiable.
Best regards
-- Luc Van Oostenryck
Powered by blists - more mailing lists