From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7122DC10F13 for ; Mon, 8 Apr 2019 14:16:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4C0CF21473 for ; Mon, 8 Apr 2019 14:16:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726854AbfDHOQt (ORCPT ); Mon, 8 Apr 2019 10:16:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:32808 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726005AbfDHOQs (ORCPT ); Mon, 8 Apr 2019 10:16:48 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 7CCBAAD7C; Mon, 8 Apr 2019 14:16:47 +0000 (UTC) Date: Mon, 8 Apr 2019 16:16:46 +0200 From: Petr Mladek To: Kimberly Brown Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Joe Lawrence , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 8/8] livepatch: Replace klp_ktype_patch's default_attrs with groups Message-ID: <20190408141646.6skambtdbh6g3gyk@pathway.suse.cz> References: <20190322201440.GA30814@ubu-Virtual-Machine> <1571eb59b1d523aac81d524ae20a56cf378ef9c4.1554151487.git.kimbrownkd@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1571eb59b1d523aac81d524ae20a56cf378ef9c4.1554151487.git.kimbrownkd@gmail.com> User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2019-04-01 22:51:58, 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 Acked-by: Petr Mladek Best Regards, Petr