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@linux.com>