Re: [PATCH v7 4/7] perf/amd/iommu: Declare pr_fmt and remove unnecessary pr_debug

From: Suravee Suthikulpanit
Date: Sat Jan 14 2017 - 05:48:47 EST




On 1/12/17 17:19, Borislav Petkov wrote:
Also, looking at that driver more, this needs to die, like now:

#define format_group attr_groups[0]
#define cpumask_group attr_groups[1]
#define events_group attr_groups[2]
#define null_group attr_groups[3]

Like, kill it dead. Define a separate array, look what the other drivers
do, whatever, but this is too ugly to live.

Thanks.

--

Okay... you got it :)

S