Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2114imm; Wed, 5 Sep 2018 12:42:12 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdav2urSpb2f2ZTaaOmjSpiZqAlu3kAUv7pXZSpwaSCgfbmoYqUZ9ZTxFceI7Dx5xo/lx9ko X-Received: by 2002:a63:e914:: with SMTP id i20-v6mr38179151pgh.10.1536176532683; Wed, 05 Sep 2018 12:42:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536176532; cv=none; d=google.com; s=arc-20160816; b=h4bZhI5ikOn+gRx3K306ZUsEldnvHbHMV8i358zoQJg2Tw0+FIxIwNhjslr0jwfWlD WQd0mr5NkUvs6SZIxtQghm8NS5Z3mjRA/6124GTCSe3N8RgJ1dTejKtO06fgYiPQtIvu hasQ8TA18ycYPHo3uXd1OqV4YQuvuLzoE04Hc1fslY644iQSqwPLiRlocici+FpgXHf5 YwHwoP7ppvI2bP1e6QSwvVxQnjCeGp48hb7tro4tfS8VeNluqUp4fXV3uoVWeJIQVUvN PnFQSdTD4854IJVulmcMikNQxzrxYsEYHAWpmaR4z7z/WKefLu622XvqhY4432TYIWYC AOuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zENSwIHiYQAL9t9ev9k2hZssc9v3IioXvpNv9y2D9UI=; b=ApWd9if3u3cb+PWB7GrT1kO9FgBojab5iScVWTrWP27jwu/N5mmxlP8cd5seLUfpgJ L0SamW2FPVyqBIpAsYo+irL01KKIm87sdeu2PoHSzfmZZcbwUW5cCk+MNIaoPeeAGhpL 5moGE5DBuFYpRwD/g5UsknKfzf3AK2APal6bnSB/A4gEgihB0faJn2O71hUPq1KF/Dnq RV0ttompsBraYjhU8bd5DIiqeLtZNF3rS9afw+eV6C15ntYy9XtHhM3a4AHYFEudg/RU cq+igDNfnlv8Fecu4AEhadFUpiDEjxqFh5nmulfXa/SpejosadX6YtQH2ynSJp5LR6lz 0r1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=H0C6wBLN; 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 h7-v6si2937615pgl.441.2018.09.05.12.41.54; Wed, 05 Sep 2018 12:42:12 -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=@linux-foundation.org header.s=google header.b=H0C6wBLN; 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 S1728151AbeIFAMS (ORCPT + 99 others); Wed, 5 Sep 2018 20:12:18 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:56045 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727575AbeIFAMS (ORCPT ); Wed, 5 Sep 2018 20:12:18 -0400 Received: by mail-it0-f66.google.com with SMTP id d10-v6so11556904itj.5; Wed, 05 Sep 2018 12:40:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zENSwIHiYQAL9t9ev9k2hZssc9v3IioXvpNv9y2D9UI=; b=H0C6wBLNSj8MW/vIRd9+rdr6x+EqmFhB7drfHamoRoC/XjRpLda2HErIazq8cVS6zp bgtu3UKUk6PhO5CfmfImGxws2phgpXAXOUJ+gSCxy1sefVINvjATEYIJ0wBwsxHCFftc OIWBC0mDaslkUMPm2vQvnCPgXJDhV8xEaA60E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zENSwIHiYQAL9t9ev9k2hZssc9v3IioXvpNv9y2D9UI=; b=PccnCm9tVFSkzeYaCKYP5ekdBlY+OcsanBH83RPeiVJEEXO3cRAWqkLyhnB6C2AyXQ u1r1VnrJal2kDJE8IrkYzbGQ0YnQwsaJadHjpJFgR3j8nNJ9EfL/NIcJAwSXeiD5CqDT ipHMaEUvPWrAsoJOokR5jUWDPvb4V6JWyMYaNUlmhwhHvW11V+pT7PtKpTdI97DYiEZK ElDiXLUg/Dg7oyyDeVjdyk5MFzvln0WAd5bLySQkN/WcDNF5D0SZCT9R13f0sA+UETH/ wwAN/ANFbWZa0oiyJfg7b/cpswHMl8mlGvB/kgIU7+2Whk6haPinegElXcK45VXa7Dae CiuA== X-Gm-Message-State: APzg51BZh/kOTRtHqPKW74MBvpH324vU2QR21VSYkSD9mib4UBXdXvg3 RS9Q9Rf+x+1w46+u3eKkN4zqV7ObhKBW1+XigdY= X-Received: by 2002:a02:9d45:: with SMTP id m5-v6mr27246349jal.72.1536176438970; Wed, 05 Sep 2018 12:40:38 -0700 (PDT) MIME-Version: 1.0 References: <20180903203316.16183-1-miguel.ojeda.sandonis@gmail.com> <20180903203316.16183-8-miguel.ojeda.sandonis@gmail.com> <20180905182038.muv535vfugm72spk@ltop.local> <20180905193035.GB3420@localhost> In-Reply-To: <20180905193035.GB3420@localhost> From: Linus Torvalds Date: Wed, 5 Sep 2018 12:40:26 -0700 Message-ID: Subject: Re: [PATCH 07/12] Compiler Attributes: remove unneeded sparse (__CHECKER__) tests To: Josh Triplett Cc: Luc Van Oostenryck , Miguel Ojeda , Linux Kernel Mailing List , Rasmus Villemoes , efriedma@codeaurora.org, Christopher Li , Kees Cook , Ingo Molnar , Geert Uytterhoeven , Arnd Bergmann , Greg Kroah-Hartman , Masahiro Yamada , Joe Perches , Dominique Martinet , Sparse Mailing-list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 5, 2018 at 12:30 PM Josh Triplett wrote: > > Unlike GCC, I don't think it's at all unreasonable to assume a > *relatively* recent version of Sparse. Yeah, sparse is small and easy to build and installs in your own ~/bin/ directory by default. Anybody who can build the kernel can trivially fetch and build sparse in seconds. It literally builds from scratch in 2.5s for me. I don't think you even need any development packages that you don't already need for the kernel. Just a C compiler and libc, basically. Sure, some parts of sparse can use things like libxml and llvm and even gtk, but that's for functionality that the "check kernel with sparse" doesn't even need, and the makefile will automatically disable them if you don't have it installed. So if people are having trouble, just point them to the sparse repo, and tell them that git clone ... cd sparse make -j8 make install fixes the issue in 30 seconds. Although maybe I'm misstating just how easy sparse is to build and install, and people have had problems? Linus