Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753524AbbKCJuM (ORCPT ); Tue, 3 Nov 2015 04:50:12 -0500 Received: from mx2.suse.de ([195.135.220.15]:42685 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753267AbbKCJuG (ORCPT ); Tue, 3 Nov 2015 04:50:06 -0500 Date: Tue, 3 Nov 2015 10:50:05 +0100 (CET) From: Miroslav Benes To: Chris J Arges cc: live-patching@vger.kernel.org, jeyu@redhat.com, Josh Poimboeuf , Seth Jennings , Jiri Kosina , Vojtech Pavlik , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] livepatch: old_name.number scheme in livepatch sysfs directory In-Reply-To: <1446505187-28970-1-git-send-email-chris.j.arges@canonical.com> Message-ID: References: <20151102203241.GF27488@treble.redhat.com> <1446505187-28970-1-git-send-email-chris.j.arges@canonical.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2325 Lines: 62 On Mon, 2 Nov 2015, Chris J Arges wrote: > The following directory structure will allow for cases when the same > function name exists in a single object. > /sys/kernel/livepatch/// There is still a period here and in the documentation :) > The number corresponds to the nth occurrence of the symbol name in > kallsyms for the patched object. > > An example of this issue is documented here: > https://github.com/dynup/kpatch/issues/493 > > Signed-off-by: Chris J Arges > --- > Documentation/ABI/testing/sysfs-kernel-livepatch | 2 +- > kernel/livepatch/core.c | 45 ++++++++++++++++++++++-- > 2 files changed, 44 insertions(+), 3 deletions(-) > > diff --git a/Documentation/ABI/testing/sysfs-kernel-livepatch b/Documentation/ABI/testing/sysfs-kernel-livepatch > index 5bf42a8..dcd36db 100644 > --- a/Documentation/ABI/testing/sysfs-kernel-livepatch > +++ b/Documentation/ABI/testing/sysfs-kernel-livepatch > @@ -33,7 +33,7 @@ Description: > The object directory contains subdirectories for each function > that is patched within the object. > > -What: /sys/kernel/livepatch/// > +What: /sys/kernel/livepatch/// Dash should be here. Since it is a documentation, could you add few words what this number is? I think that the sentence "The number corresponds..." from the changelog above would be great. > Date: Nov 2014 > KernelVersion: 3.19.0 > Contact: live-patching@vger.kernel.org > diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c > index 6e53441..6bcf600 100644 > --- a/kernel/livepatch/core.c > +++ b/kernel/livepatch/core.c > @@ -587,7 +587,7 @@ EXPORT_SYMBOL_GPL(klp_enable_patch); > * /sys/kernel/livepatch/ > * /sys/kernel/livepatch//enabled > * /sys/kernel/livepatch// > - * /sys/kernel/livepatch/// > + * /sys/kernel/livepatch/// And here. The rest is fine. Thanks a lot for the patch Miroslav -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/