Messages in this thread | | | Date | Fri, 8 May 2020 10:25:10 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] perf/core: Do not initialise statics to 0 and add space before '{' |
| |
On Fri, May 08, 2020 at 12:04:23PM +0800, Kaige Li wrote: > Fix the following checkpatch errors: > > ERROR: do not initialise statics to 0 > #10616: FILE: ./kernel/events/core.c:10616: > + static int hw_context_taken = 0; > > ERROR: space required before the open brace '{' > #11070: FILE: ./kernel/events/core.c:11070: > + } else if (is_write_backward(event)){
Checkpatch can sod off. Please don't ever submit pure checkpatch patches to anything I maintain.
| |