Received: by 10.223.185.116 with SMTP id b49csp722013wrg; Tue, 20 Feb 2018 06:53:16 -0800 (PST) X-Google-Smtp-Source: AH8x225ZvWo8UvU+g2ruhKADJPkKKPaZ+c1MaSKZZold3rWvf7sZxZ81dHMXSRrMt8C9zpn+OWci X-Received: by 10.98.117.139 with SMTP id q133mr17159478pfc.64.1519138396621; Tue, 20 Feb 2018 06:53:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519138396; cv=none; d=google.com; s=arc-20160816; b=KM2FP7U1PJtyFxwp/XcLyMMPLfopbyq+rCqFFlR9jMpabaLgnUMHJQmS6BNvmkvNV4 DPwiYrE/HdxF4DMBXbT92IwlKDQayR6Qm/hPttWJLDd3k61DBlua8qSF2MddFxokr0G6 J4UryP5xCHsyOdl/tDbycmqG53V8HBtFKY+852MXt3+2tdh49qrVbpSkJNhDibuPI3IO Ve/Ij9KxLs1QkwBt8A2z+Oumez8DvluXQEqxD8YC8f15lh7Gd503WhQQrhVs5HI4g0Ak j0JMXgFsxxJBP11nq8c7yeG/CXE2TCBtRGCtt9TGp/G801JovciQuXHGNDXkYPIlu6+m LpeQ== 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 :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=0+SzWz3H21OB4LlcfE+UGT1DJM1n1M8n81FNCgB3E8s=; b=FgzSbNOmOt4N3FgYOOg2axA3IU1DXppiWQuUZgWZmCo77J4VJzQIdIwsjTY8w6wS5B Z66XHYF5W/pXsxu8mQkhzO8HvHVj+qCCIUHz1VHMiNn69zVOhnWef4CrEO/t6lrHgp1n YL1Njy65w8FDJz3IKJbz85lhimnPqG3fF+gEEhHF/qss7KyPEeUux/OpEsDIsvy8c3tR mjVIyvHNodTS3kamhS7EdFCB3CneC1IMt71Z2K/alo+SjxBSlWp6cyDb8DbvwIMYpmgz ZnNCdUj9E38uRKt1xbec38Crm3yLeGDms4aVKXjKPR87aMMB4AgPUX9vl29TU+V3aLzM i6/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=UVdKZggt; 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 f11si606298pgp.626.2018.02.20.06.53.02; Tue, 20 Feb 2018 06:53:16 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=UVdKZggt; 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 S1752146AbeBTOuy (ORCPT + 99 others); Tue, 20 Feb 2018 09:50:54 -0500 Received: from conssluserg-03.nifty.com ([210.131.2.82]:26049 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751753AbeBTOux (ORCPT ); Tue, 20 Feb 2018 09:50:53 -0500 Received: from mail-vk0-f49.google.com (mail-vk0-f49.google.com [209.85.213.49]) (authenticated) by conssluserg-03.nifty.com with ESMTP id w1KEohhI021573; Tue, 20 Feb 2018 23:50:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com w1KEohhI021573 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1519138244; bh=0+SzWz3H21OB4LlcfE+UGT1DJM1n1M8n81FNCgB3E8s=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=UVdKZggttNf4dgR6ZiGiTpPMjttj8Ca30fclB3H9D2n7d8MBRvKf0/GUc2YX/T+PE H17+JmLjPZJvV3CLsyj7yJRm7y5s1gJVDCK5OT6X9WkzybhDSDjk2u5Q4WtCvWaZ3F 8EiGeZQeMAu85VaUvLuh8DgqUwJjK1pNnJW0lQsVPtkbX+vpDLYKWDu1UruY9qvoZb nZjcQsMFJmWQsWxMac2C6e6t1I69/aforX5Ek9VJGEHp4s+4jaFVQhNDmJ5NLcV18K zfaAZyJQ2JNuYSEoga3NFkY5OUN7kB4CaA/oZb+HWzS8OBPaHiue1U/cTqilV/Fczu X8yttAo1HhaQg== X-Nifty-SrcIP: [209.85.213.49] Received: by mail-vk0-f49.google.com with SMTP id x135so6085848vkd.5; Tue, 20 Feb 2018 06:50:44 -0800 (PST) X-Gm-Message-State: APf1xPB3Su3J6dvnW2opTK8PawbgI9wkxkmohTwRlk4cJaA/+D7hr9a4 Ly1Dsr6ddsYxFchOV4OsM3hZ0JCiJETYM1UPwFg= X-Received: by 10.31.33.68 with SMTP id h65mr12963561vkh.65.1519138243312; Tue, 20 Feb 2018 06:50:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.83.212 with HTTP; Tue, 20 Feb 2018 06:50:02 -0800 (PST) In-Reply-To: <20180215210750.28813-1-luc.vanoostenryck@gmail.com> References: <20180215210750.28813-1-luc.vanoostenryck@gmail.com> From: Masahiro Yamada Date: Tue, 20 Feb 2018 23:50:02 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] disable sparse warnings about unknown attributes To: Luc Van Oostenryck Cc: Linux Kernel Mailing List , Linux Kbuild mailing list , Michal Marek , Linus Torvalds , Josh Triplett , Randy Dunlap , linux-sparse@vger.kernel.org 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 2018-02-16 6:07 GMT+09:00 Luc Van Oostenryck : > Currently, sparse issues warnings on code using an attribute > it doesn't know about. > > One of the problem with this is that these warnings have no > value for the developer, it's just noise for him. At best these > warnings tell something about some deficiencies of sparse itself > but not about a potential problem with code analyzed. > > A second problem with this is that sparse release are, alas, > less frequent than new attributes are added to GCC. > > So, avoid the noise by asking sparse to not warn about > attributes it doesn't know about. > > Reference: https://marc.info/?l=linux-sparse&m=151871600016790 > Reference: https://marc.info/?l=linux-sparse&m=151871725417322 > Signed-off-by: Luc Van Oostenryck > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to linux-kbuild/kbuild. Thanks! -- Best Regards Masahiro Yamada