Re: [PATCH 2/5] mm: slub: constify attribute_group structures.

From: Christopher Lameter
Date: Thu Jul 27 2017 - 10:36:49 EST


On Thu, 27 Jul 2017, Arvind Yadav wrote:

> attribute_group are not supposed to change at runtime. All functions
> working with attribute_group provided by <linux/sysfs.h> work with
> const attribute_group. So mark the non-const structs as const.

Acked-by: Christoph Lameter <cl@xxxxxxxxx>