Re: [PATCH] samples/livepatch: fix usage example comments

From: Jiri Kosina
Date: Tue Dec 23 2014 - 18:11:20 EST


On Tue, 23 Dec 2014, Josh Poimboeuf wrote:

> Fix a few typos in the livepatch-sample.c usage example comments and add
> some whitespace to make the comments a little more legible.
>
> Reported-by: Udo Seidel <udoseidel@xxxxxx>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

[ adding Udo to CC ]

Applied, thanks.

> ---
> samples/livepatch/livepatch-sample.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/samples/livepatch/livepatch-sample.c b/samples/livepatch/livepatch-sample.c
> index 21f159d..fb8c861 100644
> --- a/samples/livepatch/livepatch-sample.c
> +++ b/samples/livepatch/livepatch-sample.c
> @@ -26,12 +26,16 @@
> * kernel boot cmdline when /proc/cmdline is read.
> *
> * Example:
> + *
> * $ cat /proc/cmdline
> * <your cmdline>
> + *
> * $ insmod livepatch-sample.ko
> * $ cat /proc/cmdline
> * this has been live patched
> - * $ echo 0 > /sys/kernel/livepatch/klp_sample/enabled
> + *
> + * $ echo 0 > /sys/kernel/livepatch/livepatch_sample/enabled
> + * $ cat /proc/cmdline
> * <your cmdline>
> */
>
> --
> 2.1.0
>

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/