Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1191057yba; Tue, 2 Apr 2019 04:19:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCDCHY9JC45st1sac0wyZz0pmoqpuxc7XOWhX4WAwt1pHERpu8fq5qj6zPzTe7IHMKOXLI X-Received: by 2002:a63:460a:: with SMTP id t10mr64647993pga.354.1554203980058; Tue, 02 Apr 2019 04:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554203980; cv=none; d=google.com; s=arc-20160816; b=Usv60Qpe6nFUKCLUB1MDpct2ii6TxYDW6hhvBAyAAR9hNBAZTkPIAKsf89THAMOrhP qnuSmf6YqyerOjXrQFp2p+Es+I9T6Cicau/ONux0hwe4xSoJyrn6j6SkRya0n/zDehzC MxnzU58v/woexQMEhdkMZWGkt/fuZVL+pk93Y5PCsgx43/f+E7Q2/6nexqJuLaCpOn+j HgJ1g9dRjSIJhjwj6+t2oxE3m+yA2cW0H0nm8YnVeo4d0b7d6eWvqe6fASP8RhOGdGpg VIf3IC8uUd6qhGe4u3NS+HZs2POo+dEaBNgavR3dJlX5xEGFaZaz6FM2RQFEMIGSlyZ+ XUjg== 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:dkim-signature; bh=5ellQ7dSsbPL/QUPukkn3TWmtx6FtoW5YBL2VIbq5y0=; b=nsGCcNSuXKzKl206uM2s+Ndh824Li/SoZOT/qnkYPeNt27bhwl7job2SZorHqKxyJp kXzLyxN8D+LuBphZHkjPy8M/jjMhvaWbCJfRs+BYHZHOyBQ50TcEOw/hTiNkUi+abXsP Hgc3mQPE3XIHtq0EjCJC/9p/2y+YnayBXazPtXQjmlzYZ1pnkWfJ4tSPv4jv65jTGa1U yvfe8F9UH+LZJZNchs99AsT6GJ17bY/lNO+qYYJr5vKQQL232vty7zgrFpxR0auQbUtq 2GoGwdooppHoQlUedBXoUwwVyHBdYj/Kti6LuyfamD2FKgOHuQ3em9Bcq2E7zgcMKPe5 vOYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=torp+Ys+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ch17si4046276plb.337.2019.04.02.04.19.21; Tue, 02 Apr 2019 04:19:40 -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; dkim=pass header.i=@kernel.org header.s=default header.b=torp+Ys+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730196AbfDBKWl (ORCPT + 99 others); Tue, 2 Apr 2019 06:22:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:36014 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726705AbfDBKWk (ORCPT ); Tue, 2 Apr 2019 06:22:40 -0400 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 88DC52082C; Tue, 2 Apr 2019 10:22:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554200560; bh=uE4fVXashDaMVo05Fhcbbq7j1fOaLOo6nhEi+7RiYos=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=torp+Ys+hXAiNdUg26vf9LnDooouPiOgFdDzIFiEYcdrtjuyLfKPzVIROv7IagcSb K3fO5LMUEvTR2loy9eHo8MdG1LKG/IGeQxM2giO7x/8glU1tGQBk4bT9m2smB6Gh1R 6aKjgyDqflvQ411xWX/toAFaa9yp1bvoVhI5lJ6E= Date: Tue, 2 Apr 2019 12:22:22 +0200 (CEST) From: Jiri Kosina To: Kimberly Brown cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Josh Poimboeuf , Miroslav Benes , 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: Jiri Kosina Greg, feel free to route this one through your tree. -- Jiri Kosina SUSE Labs