Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1299439ybg; Fri, 18 Oct 2019 15:27:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUNy/gX5Rg6cj1djEH9altWk/I2yIosm9193qOrfp7S7M7FpBn2VIr3LLMF5tjM3O96DlZ X-Received: by 2002:a17:907:2172:: with SMTP id rl18mr11103382ejb.125.1571437663499; Fri, 18 Oct 2019 15:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571437663; cv=none; d=google.com; s=arc-20160816; b=FmrdZX27zK4fuLL2dBlU9LVd5rFwmC7UWVAzEXXhfgpfOjHdanSE0mCpYyg1P/bEF9 30b045InkkMR85g+f2D9EBXtcsyWQqMbgY71yMrpMQIJMrE4eYEYjD/hV3XtVqLm8kUm U+BfO1H/O0Qy1DouGks6KqpDW8XmeqMJdFLP2EGoKTsg6iiveenVc709zszBhMIizNog nEL5zjB+E8Wkzan2qvAa1DtTnvK0coH4Awjk9p81IVdQzMxnikMJhuhdBNa/Nzrok014 niHe/QCYG/P/AKmCMLC1JAmEjib+grhMW4NyxzklMFoR+/5IVBVsXdZ0XPrBdbetrX7I yERA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TGIeMHWXK53sHye5G1LgnfCP8Ga7F8A0ZVwuDPcGRt4=; b=pdGA2CM6I89kKpumoyPXcUzpfPe8AIK5rAU4FMV+G/XFioYQBhvwrkKWkDL8hBlPn0 opVXivCbM9StYMds1LEMhbGDgf4mBhX96Uqk1mYLUc4EFUdOwVtgIfprByLSlxnoc8Nl pwwXN5TeaRWRLexmMk32/e5ZmQz/MhH3dYDkyLYRKQ4Rmr1W2lORVM4BgHS99T67mWUo i940wwgjYYQ6haFvX7P54Z57qs5EHFDYx/HEjxlfX04IIddJlr7hHiSE5i3xINMEFZVm RLyZ6A8/PelTNQxwRUgqQBvO7n6bZxYYArVbdJvvPCD8sehoEL/a7LkeFhYsRdpnpn/j qYwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JljwbGRT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si5556540edc.67.2019.10.18.15.27.20; Fri, 18 Oct 2019 15:27:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JljwbGRT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439373AbfJRFAA (ORCPT + 99 others); Fri, 18 Oct 2019 01:00:00 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:34455 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbfJRFAA (ORCPT ); Fri, 18 Oct 2019 01:00:00 -0400 Received: by mail-wm1-f66.google.com with SMTP id y135so8447831wmc.1 for ; Thu, 17 Oct 2019 21:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TGIeMHWXK53sHye5G1LgnfCP8Ga7F8A0ZVwuDPcGRt4=; b=JljwbGRTq1E6mquIfDwk+xIsr8rGHug6c2MDq2EbaJSII1XUYxA/xrd2MX5v/Wb+yy yMqgKBOTpFzBB7hjADLAg/CkmrD946ZY+ATcnXTBsYxMeYzmRmgbQDdKyPqdiDj2qMha XgbjW27wieRO9ktfmfDUGR4J3YTSIMf9hV4A62eqGAtTX3Vc7m3MeNR9ie7VWLXQ8c55 uSO/mVVKpXDWD1lTVkfjKuaiZVNECxJxPjk+lt7j0OxeJeR1qdiqSC8ziCRuE5pZvlzs JDBLG+vv+qjCPme7i7SjW4VSHZYY0M3+dhj/TUgQ2r/TyudulEdFpv0UWuK7UF0RH01h 8dmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=TGIeMHWXK53sHye5G1LgnfCP8Ga7F8A0ZVwuDPcGRt4=; b=qQGe/GSLWazhg7jOZmLPubBBlgonvrtigVNLZ/JRDN++tk9BV9IzC4da/znl/QGckb V0hMb0cjquwJlmJ4Y0UkWiKMdRGLEDVifw6o7DjJLrCALtyQabrUE4CSID3PtPdmi79m lM/L5M7+0dXUUqE3UyXnZQWZ9WJx+WGgWkTfAj2iCQTqWeUNKSJf8SZ4o8VsbaCzzz10 OGGD6N4iMtBT22obcL3up76MYWBygyAAQolHja5M4fMGX+vxNU64uWI3UcKb02/q1iwn R+ZCb59YcLxd03exLC6qsEzQD4aHaL+UlUOTt5uOvOEZPJoIJ13rXoWZDY23R6reKrYJ ufUg== X-Gm-Message-State: APjAAAVkI28h+jy62QZpgQyq6owTOgpmznrKAsIAdbq1SKuqaUcXN3qd bZs5wBS/+GfutNtxEnmzXMyY2+ft X-Received: by 2002:a05:600c:143:: with SMTP id w3mr5566109wmm.17.1571371361356; Thu, 17 Oct 2019 21:02:41 -0700 (PDT) Received: from ltop.local ([2a02:a03f:40ac:ce00:18e1:7d90:ccf5:4489]) by smtp.gmail.com with ESMTPSA id u25sm3951686wml.4.2019.10.17.21.02.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Oct 2019 21:02:40 -0700 (PDT) Date: Fri, 18 Oct 2019 06:02:38 +0200 From: Luc Van Oostenryck To: Paul Walmsley Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/8] riscv: init: merge split string literals in preprocessor directive Message-ID: <20191018040237.3eyrfrty72r63pkz@ltop.local> References: <20191018004929.3445-1-paul.walmsley@sifive.com> <20191018004929.3445-4-paul.walmsley@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191018004929.3445-4-paul.walmsley@sifive.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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