Re: [PATCH 11/28] x86/intel_rdt/cqm: Add info files for RDT monitoring

From: Thomas Gleixner
Date: Tue Aug 01 2017 - 16:40:58 EST


On Tue, 25 Jul 2017, Vikas Shivappa wrote:
> @@ -658,6 +732,14 @@ static int rdtgroup_create_info_dir(struct kernfs_node *parent_kn)
> if (rdtgroup_mkdir_info_resdir(r, r->name, fflags))
> goto out_destroy;
> }
> +
> + for_each_mon_enabled_rdt_resource(r) {
> + fflags = r->fflags | RF_MON_INFO;
> + sprintf(name, "%s_MON", r->name);
> + if (rdtgroup_mkdir_info_resdir(r, name, fflags))
> + goto out_destroy;
> + }

Copy and paste and still the compiler complains ....