Content-Type: multipart/mixed; boundary="===============8040946600508173507==" MIME-Version: 1.0 From: Peter Zijlstra To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 19/19] objtool: Detect loading function pointers across noinstr Date: Wed, 18 Mar 2020 12:02:43 +0100 Message-ID: <20200318110243.GE20730@hirez.programming.kicks-ass.net> In-Reply-To: List-Id: --===============8040946600508173507== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, Mar 17, 2020 at 04:43:47PM -0700, Nick Desaulniers wrote: > Just needs a `default:` case. From personal experience, this warning > helps you track down every switch on an enum when you add a new > enumeration value. Except of course if those switch statements have a default clause and still need updating for the new state. Anyway, I'll go add the silly line. --===============8040946600508173507==--