Re: [tip:perf/urgent] perf/x86/intel: Mark expected switch fall-throughs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:perf/urgent] perf/x86/intel: Mark expected switch fall-throughs
- From: Kees Cook <keescook@xxxxxxxxxxxx>
- Date: Thu, 25 Jul 2019 16:28:31 -0700
- Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, hpa@xxxxxxxxx, tglx@xxxxxxxxxxxxx, mingo@xxxxxxxxxx, gustavo@xxxxxxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, acme@xxxxxxxxxx, kan.liang@xxxxxxxxxxxxxxx, namhyung@xxxxxxxxxx, jolsa@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, alexander.shishkin@xxxxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <ad5ec66830b502d68e6d3c814706b52490418f0f.camel@perches.com>
- References: <20190624161913.GA32270@embeddedor> <tip-289a2d22b5b611d85030795802a710e9f520df29@git.kernel.org> <20190725170613.GC27348@nazgul.tnic> <20190725173521.GM31381@hirez.programming.kicks-ass.net> <ad5ec66830b502d68e6d3c814706b52490418f0f.camel@perches.com>
On Thu, Jul 25, 2019 at 04:18:56PM -0700, Joe Perches wrote:
> On Thu, 2019-07-25 at 19:35 +0200, Peter Zijlstra wrote:
> > Seriously though; I detest these patches and we really, as in _really_
> > should have done that attribute thing.
>
> At least it'll be fairly easy to convert to something
> sensible later.
>
> Variants of the equivalent of:
>
> s@/* fallthrough */@fallthrough;@
>
> with some trivial whitespace reformatting will read
> _much_ better.
>
> It's pretty scriptable.
Yup; that's been my perspective. First let's finish markings (so so
close right now), then we can do the next phase.
--
Kees Cook
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]