Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2944398yba; Mon, 8 Apr 2019 07:58:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvZdHIv32sfakAckVuUNXQ8B2UUn9DOFlBliRd8Xu5FZHIJ3DnML9L0VAVaYunShtyyFD8 X-Received: by 2002:a65:4802:: with SMTP id h2mr26864229pgs.98.1554735518228; Mon, 08 Apr 2019 07:58:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554735518; cv=none; d=google.com; s=arc-20160816; b=MWduZ0Iq2koKV/WyCo+trtCKjWcEWLTGqRIYpPcieqWgZwDBFTFsJ8siik8rp5mF40 5Zn0QeKHnfYXyuvHEulSj/lU+1aroPcdw7DkkuXurXBbtx5aAdpWodCEyWxcEbJ28eYz dxAlmPkIX8f3MGpyxQw4Vk6Hz+cse+rDolwkKF1iLIL3Q43gBirdG7BgrlbKXXt/f8FW /6zkBRGfTwPwNm3DCCP/o1xLbOaWg+kHyExhheHG7ixXwEh7xZUC4KOOM9IXkI33vV+H 2IZbSGonBx0wA/iB9aGxNqNaliw5/CVUpodYew5MWbIRN8MJp7ofQgH+1sYb7uccn7ve UlTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=34JuzdgC6h7BQ0+xZLSHR+luMUNxXSqECKA6MTAk3tc=; b=JsLTALLgPCHmHJpIOlsFmuaS0t2OpLS8y+N7uiDlXv3bEEY3P3ZTGgRs1BjD+NwQZQ LYrSeI+FSvcAeSJzcSB4r5yL93s7Qn8pjZV8iJ9fSsLdRcRDhoAzw4nTmS/tLh1tSRJq wtsZif5/FmsbCRbs1y482Byi3svgpuN4FniFeUU8A3f0v/VgQ0odkbP6Ltgwzi6+UVc2 5KW9g9DmDgisONg6r3VyvuSU/sUtjYkT0ONCdhzT0xUzGz8rPLip6bP8LBs00IxtXZtk cmsPqOjZDTWA0Ix9GWX2lzJw2fVmSnXPAnSt4Ng9P0N0hMy7+cKV8S7g3LGv0/YxzJ4k +0bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si18073403pgv.586.2019.04.08.07.58.23; Mon, 08 Apr 2019 07:58:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726832AbfDHOQt (ORCPT + 99 others); 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