Re: [PATCH v2 8/8] livepatch: Replace klp_ktype_patch's default_attrs with groups
From: Miroslav Benes
Date: Wed Apr 03 2019 - 07:51: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: Miroslav Benes <mbenes@xxxxxxx>
M