Re: [PATCH v2 19/19] objtool: Detect loading function pointers across noinstr

From: Peter Zijlstra
Date: Wed Mar 18 2020 - 07:02:59 EST


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.