On Thu, 19 Oct 2017, [email protected] wrote: > From: Kan Liang <[email protected]> > > Remove the special codes in generic uncore_perf_event_update.
What are special codes?
> Introduce inline function to check the fixed counter event.
>
> +static inline bool uncore_pmc_fixed(int idx)
> +{
> + return (idx == UNCORE_PMC_IDX_FIXED);
The parentheses are pointless. Please get rid of them.
Thanks,
tglx

