Re: [PATCH V3 2/6] perf/core: Add helper to obtain performance counter index
From: Peter Zijlstra
Date: Wed Sep 19 2018 - 05:18:04 EST
On Tue, Sep 18, 2018 at 10:54:28AM -0700, Reinette Chatre wrote:
> It works, but checkpatch.pl does not like it very much:
> > CHECK: extern prototypes should be avoided in .h files
> > #66: FILE: arch/x86/include/asm/perf_event.h:273:
> > +extern int x86_perf_rdpmc_index(struct perf_event *event);
Checkpatch is wrong. Ignore it.