From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752205AbeB0WgV (ORCPT ); Tue, 27 Feb 2018 17:36:21 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36222 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751735AbeB0WgS (ORCPT ); Tue, 27 Feb 2018 17:36:18 -0500 X-Google-Smtp-Source: AG47ELtaFenMPsBQ83jcnmAe+fb6mwlqrocm1PJak5YUOPIe/1r03cGdu37OiGWmn61dw2TKVVjkGA== Date: Tue, 27 Feb 2018 23:36:13 +0100 From: Luc Van Oostenryck To: Linus Torvalds Cc: Randy Dunlap , Matthew Wilcox , Linux Kernel Mailing List , Masahiro Yamada Subject: Re: [PATCH] sparse doesn't support indirect_branch attribute Message-ID: <20180227223611.vglxasfco524cdy7@ltop.local> References: <20180227194828.GA29918@bombadil.infradead.org> <5a85a7cf-c59c-f338-2087-c9de799adbe8@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 27, 2018 at 02:12:28PM -0800, Linus Torvalds wrote: > On Tue, Feb 27, 2018 at 12:18 PM, Randy Dunlap wrote: > > > > I don't mind the patch, but I did send a patch for this attribute on Feb. 13, 2018, > > to the sparse mailing list. > > I think the sparse plan is to just stop warning about unknown > attributes, because it doesn't really help users (at most it's a note > to a sparse developer). > > But sparse doesn't have the same regular releases the kernel has. Oh well. To compensate this, I sent a patch to use '-Wno-unknown-attribute' for kernel builds. Masahiro Yamada has already taken it to the linux-kbuild tree. I'm not sure if it's planned for the next -rc or for 4.17, though. -- Luc Van Oostenryck