[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190813071520.GA5075@infradead.org>
Date: Tue, 13 Aug 2019 00:15:20 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Nathan Huckleberry <nhuck@...gle.com>
Cc: yamada.masahiro@...ionext.com, michal.lkml@...kovi.net,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, clang-built-linux@...glegroups.com
Subject: Re: [PATCH] kbuild: Change fallthrough comments to attributes
On Mon, Aug 12, 2019 at 02:47:11PM -0700, Nathan Huckleberry wrote:
> Clang does not support the use of comments to label
> intentional fallthrough. This patch replaces some uses
> of comments to attributesto cut down a significant number
> of warnings on clang (from ~50000 to ~200). Only comments
> in commonly used header files have been replaced.
>
> Since there is still quite a bit of noise, this
> patch moves -Wimplicit-fallthrough to
> Makefile.extrawarn if you are compiling with
> clang.
That __attribute__ crap looks like a cat barfed over the keyboard.
Please fix up clang and keep the kernel source sane.
Powered by blists - more mailing lists