Messages in this thread | | | Date | Wed, 18 Mar 2020 12:02:43 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH v2 19/19] objtool: Detect loading function pointers across noinstr |
| |
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.
| |