Re: [PATCH v2 8/8] livepatch: Replace klp_ktype_patch's default_attrs with groups

From: Jiri Kosina
Date: Tue Apr 02 2019 - 06:22:43 EST


On Mon, 1 Apr 2019, Kimberly Brown wrote:

> The kobj_type default_attrs field is being replaced by the
> default_groups field. Replace klp_ktype_patch's default_attrs field
> with default_groups and use the ATTRIBUTE_GROUPS macro to create
> klp_patch_groups.
>
> This patch was tested by loading the livepatch-sample module and
> verifying that the sysfs files for the attributes in the default groups
> were created.
>
> Signed-off-by: Kimberly Brown <kimbrownkd@xxxxxxxxx>

Acked-by: Jiri Kosina <jkosina@xxxxxxx>

Greg, feel free to route this one through your tree.

--
Jiri Kosina
SUSE Labs