Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp73108yba; Wed, 3 Apr 2019 04:52:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbQwwQJvf7I604gV9cUT8RBVZ9ycSi75pOZZodNPtYoHvdnkNzoJkB0+PIzEi7BqKiGqb/ X-Received: by 2002:a63:ff1d:: with SMTP id k29mr72620717pgi.258.1554292357125; Wed, 03 Apr 2019 04:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554292357; cv=none; d=google.com; s=arc-20160816; b=Br9tYl+Ff0djzm14Zkuh1+vRIVTn+l167Zy9Y7k5A6GbGjjEOq12gRfxVgPHJrPS6/ adk4AytVSIsoiCNsMAlrZ3pjvvie0dyA73zPbYBI1l6abynkC2DOCciYFNIVV8m9MwSv G9mwe6HI59rlebItmk6GN5lBuIlPpXerUEmEw07bLJvU5Jtr0VivdS4OB2tQXjvzO3eP wgTyJ+iuZCcLXsj//0/qyV1VIwl1vW+lAbKCIFqJNFn+3DV8psDUGQmFy1+LRdZWpVZo yVc39k5APO6pWgNvXUBRY03o/nCrGdnV07Qdyq3hXuL0nYFBSQ9Nuiu3yDjes74SGWIB RMFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=XIBpGe9U8+wqr1E8yFivPft/uTzFHIF93EshUcHALHM=; b=GSzMYu79nGpEBCfkFxNNhdg4qrAuHL21n4JQ1JfctuIOBG7eigXonrG+YDVm1Wx31V EtjZGGLBYXkefru93kLC6nmjfjCcY7a0lDjLAfoLbd1IJFxXpJUD1RRFzc+YKMfJgIxw cZigN3zsp5xZji8ktdniugFCy9aIIbWoG8vAv76ax4wxXiKYo2kJRw3ahAUJMA+AoUDe YC0+UdsV8PCUGcYuRE6CKbPY9ntkMQr0pX9HWwlM9E5VKEjrADdC5FnObFYzecSX0hTa 7Se5LKlZsoX1wz9BWW5oTkD410vrWxpnxzlpa4NrL6cbHbjAz3Qt61NyjQ4huvpXZxrk P0iw== 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 127si13892889pgf.595.2019.04.03.04.52.20; Wed, 03 Apr 2019 04:52:37 -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 S1726183AbfDCLvk (ORCPT + 99 others); Wed, 3 Apr 2019 07:51:40 -0400 Received: from mx2.suse.de ([195.135.220.15]:35010 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726004AbfDCLvk (ORCPT ); Wed, 3 Apr 2019 07:51:40 -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 28603AE0E; Wed, 3 Apr 2019 11:51:39 +0000 (UTC) Date: Wed, 3 Apr 2019 13:51:36 +0200 (CEST) From: Miroslav Benes To: Kimberly Brown cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Josh Poimboeuf , Jiri Kosina , Petr Mladek , 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 In-Reply-To: <1571eb59b1d523aac81d524ae20a56cf378ef9c4.1554151487.git.kimbrownkd@gmail.com> Message-ID: References: <20190322201440.GA30814@ubu-Virtual-Machine> <1571eb59b1d523aac81d524ae20a56cf378ef9c4.1554151487.git.kimbrownkd@gmail.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Miroslav Benes M