Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1310221ybg; Fri, 18 Oct 2019 15:40:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYWByRTS1zoTlfufJW7dCe/ATJZ6wHOQtBoDs7qwzMYu3EmFHBXZqQ+UbYuZW/FpsDbH9J X-Received: by 2002:a05:6402:2046:: with SMTP id bc6mr12536428edb.147.1571438417887; Fri, 18 Oct 2019 15:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571438417; cv=none; d=google.com; s=arc-20160816; b=G7AkbKQGpS/yZ4oUAb7D17ZLHHxxj9JBoZlGnEiW0y1MbtALqULJnWi3uX8ETyCClB 1Sl0q8h6ouf+pd6mha8DbSFGXzLJ7xLH2BL5DQBo7ueXDefPaYXnLdu9+HaAoOtQgB0u nGpqmiLJ/V1tLAJSdHwOl84g+dctSi6xswlPDjBnBZd20eJnoFiSCNfKQxsL2v8rjCBZ YfFfHT9Ka8j0R3+WRIYTuU8yVYYnNS+pVzFoRyG6FAkYs5mzL3N9WMaGvJh85Tn/yiy/ ClTCXfnSkXr2IPBBA+xukgWqUkDyz7Kymq9FFBwuiKWWiz1RQ1pG6UyDxeekS3ZUHiQK RSkg== 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=XOUV6t3jirkU/o3kiBNxKrxEZIvkxKelj6Wk/Jg5/do=; b=SAfvr8rJz4eRNIzXIqfypQ3nIh4oaJF3VMdGzzRSeWqDSXX6Z0qpr1/523uFveR5ij aBpQbtsffEeYc0YhxIp3WsxiP9F9T3sNg8qKrm0jQy0hYZYsjdV33dwSipSuEmq0u6dG KhEr0iJvtI5qwn9Mpn61FW9psfbl8GHzS4ZwR8R9kcmpwRJ25zVgf2qI9/GZZ1sDO6Th eYk6MtpXoVgfFvpBIMuDm6867BbO9ZHfaoNV88KpNTrrlU1T/5IS/HU/bOxrHOq1PX+W H+OWFfmo9boY7bRTczzRDm1UD1nlH7f45vPPszIz+SVbDXa1i9dvXTMIJ1mHMOVZYoP8 KcPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=f6talJ7w; 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 o46si4825553edc.124.2019.10.18.15.39.55; Fri, 18 Oct 2019 15:40:17 -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=f6talJ7w; 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 S2388941AbfJRFZO (ORCPT + 99 others); Fri, 18 Oct 2019 01:25:14 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:55467 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727091AbfJRFZN (ORCPT ); Fri, 18 Oct 2019 01:25:13 -0400 Received: by mail-wm1-f66.google.com with SMTP id a6so4710344wma.5 for ; Thu, 17 Oct 2019 22:25:12 -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=XOUV6t3jirkU/o3kiBNxKrxEZIvkxKelj6Wk/Jg5/do=; b=f6talJ7wJw+pt76jatTkr/oYKwAQ7eEX4HAfDZHccy18vOTgBzEwtGY8dnwapGpOvq y32QjtHB74l6mxLMTT7eXl2GGEDoff2+wtZhwTkMV3brmWzlVz94d+hhbuCRgAk8y2FG ajkPfCdat/V8Fszly9vI4DZTJdFbomBSbLgzY+uHazLhtzSaikyL5Ve8cdfTb9+Okn9s 2fbh9tr8Td31W4cnRRdychRqIpMNSrCPKdR7D7LzmHVYiGNrrCzEAMgQ1FpvOJUyEPFY xF3rlEwAuU63TXSAfYlntLaJJbpoPX+2/oHAgCcdaX3g8LO3A5+fdXcF0cogMjFktj7N twlg== 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=XOUV6t3jirkU/o3kiBNxKrxEZIvkxKelj6Wk/Jg5/do=; b=qOgKsmKd4Xax6WAjfObUoXQZrumsumpRlXOOEaPZj+Cq7cHenv4etqtfHO8QUd5SD+ WCpdBgADo0zSiBqZPdkZRJqLhO4DCsoOYK2xqkF7QAbzmiQYHL7vPSyDt1oI7uiKPV6y 2rJUr5uDdR58DRQSGUaJcno3YYInRYeYFgqXwhGgzrhDmVJZ/xGX7yxsK1ZXkYFjTLdS F2i1Y+6/qmLUDzqGHra/NC6H5kiqUCBP13xQE26vinA7PC9ep9q+Eoix9GWsj8FULghK tsB4EKLfwD+TfZL2nXPgGIMjj46bdcV/lXFB7l5KB0pporkV3Dz5HdiuASiY0Brm57rZ mDoA== X-Gm-Message-State: APjAAAWmMZNKUYuAlXF3vwdAJpPL828wjHZOiM+x0NjFtn0/isWlcLKh xxGkVk5cNUd8H8wXRLhQpVGEMh+A X-Received: by 2002:a7b:c387:: with SMTP id s7mr5447793wmj.110.1571376311579; Thu, 17 Oct 2019 22:25:11 -0700 (PDT) Received: from ltop.local ([2a02:a03f:40ac:ce00:f882:d2a3:f943:89a4]) by smtp.gmail.com with ESMTPSA id s9sm4988206wme.36.2019.10.17.22.25.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Oct 2019 22:25:10 -0700 (PDT) Date: Fri, 18 Oct 2019 07:25:08 +0200 From: Luc Van Oostenryck To: Paul Walmsley Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/8] riscv: ensure RISC-V C model definitions are passed to static analyzers Message-ID: <20191018052507.l2dkdam2lam6ul2j@ltop.local> References: <20191018004929.3445-1-paul.walmsley@sifive.com> <20191018004929.3445-5-paul.walmsley@sifive.com> <20191018040619.o3qb5fyj4qdevwoe@ltop.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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