Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp470841imu; Sat, 17 Nov 2018 03:31:25 -0800 (PST) X-Google-Smtp-Source: AJdET5csRL+6RBx8oB6iMruGcI/J3GhCp34Z8OwKK/KjQ8XKki4fQ9g2eT4eYpczULIZuExnLre3 X-Received: by 2002:a62:6fc7:: with SMTP id k190-v6mr15146262pfc.97.1542454285149; Sat, 17 Nov 2018 03:31:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542454285; cv=none; d=google.com; s=arc-20160816; b=BCaL7dvHA+bwIxPWuKYtFTdtRGF/Ra3hwTlAlPQH1ItScs24NVkbB5SEmSeIRfsuLJ hJAYhh8DNTx0f3hHvQUAyOQNo+d6q6PSG50cwZy5RbBtpMHsXSpAFC8wCnyhNSUK13er pen+5iMRj7Q7ayNix2qpKeZkXXtYngvXOGv0ZIOQ5ayhCc6k1ANTZQYXoUpa/6avkGY8 SkQKDDSnYIEd51NuAe8fAcRvMkiQBqpBcs7gmScTc0l3ssaSe+svJKISE/q2FbqKd/Y6 VENyKrbXtLCLBP6B+EnUnKMwIRHKo0fEYxjo5D5NEVIuUNM0K8G0nfEfVA7Hgdowef0D TffQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=gKhjbDfDrDONNuswIerVNuonK1BsCOOh77fXxR8QKzQ=; b=keUEYqlZzYzoXrhDVI5ZVAxeXGa9Ks/0A9eV53+j6LX8SOVC2Xo1M4/v35ayqBORD+ Y4wWTk/M8Umx1OYLY2Ckx9+nSKzFMKdP3Uo/hjnTs8WzfhIpayy1+RFbCgCVM2A2mBEN 9ElmdWeO0LeO1CuhWMDBPD7J0vvceeQXS7ANrctN0sCdR21tv8pVCsbBAZKHaru8fVSG a3f3kZ8ZXb9PwceIdTMKBcVK8OO78DopLh4lIaUyp5I98lmuEmgp8FSaLDJlNyUL2xkZ HEHg/ZqUE7Tk9lmAMALRQigDTKGxNKmLoy76sjf5lArfXbMlKIqyJjvi11QB8aLlMpBq 3NcQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3-v6si20965617plt.208.2018.11.17.03.31.09; Sat, 17 Nov 2018 03:31:25 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726090AbeKQVpi (ORCPT + 99 others); Sat, 17 Nov 2018 16:45:38 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:44224 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725930AbeKQVph (ORCPT ); Sat, 17 Nov 2018 16:45:37 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1gNymn-0004bJ-Am; Sat, 17 Nov 2018 12:29:13 +0100 Message-ID: Subject: Re: [PATCH v2 1/3] compiler-gcc: hide COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW from sparse From: Johannes Berg To: Luc Van Oostenryck Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org Date: Sat, 17 Nov 2018 12:29:12 +0100 In-Reply-To: <20181117004209.v67yalpxuswhs2vr@ltop.local> (sfid-20181117_014213_396373_F28FF538) References: <20181109093534.15121-1-johannes@sipsolutions.net> <20181117004209.v67yalpxuswhs2vr@ltop.local> (sfid-20181117_014213_396373_F28FF538) Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-1.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2018-11-17 at 01:42 +0100, Luc Van Oostenryck wrote: > On Fri, Nov 09, 2018 at 10:35:32AM +0100, Johannes Berg wrote: > > From: Johannes Berg > > > > Sparse doesn't support all the overflow builtins, so just hide > > them from it to avoid lots of warnings/errors reported by it. > > The development version of sparse support these builtins > since their introduction in the kernel and sparse's main tree > have been updated (very recently). All the better, but I certainly checked sparse git before even considering this patch, so saying "but it's all there" feels somewhat dishonest. Also, the sparse repo is 'backdated' to the end of October. I'm almost certain this wasn't present when I sent the patch. However, it would be nice to be able to use distro sparse versions, so not sure I fully agree that we shouldn't apply such patches. johannes