lkml.org 
[lkml]   [2014]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] samples/livepatch: fix usage example comments
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@gmx.de>
> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>

[ 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


\
 
 \ /
  Last update: 2014-12-24 00:41    [W:0.182 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site