Re: [PATCHv4 3/3] samples: add sample live patching module

Seth Jennings
2014-12-01T17:12:05Z

On Thu, Nov 27, 2014 at 06:05:13PM +0100, Petr Mladek wrote:
> On Tue 2014-11-25 11:15:09, Seth Jennings wrote:
> > Add a sample live patching module.
> >
> > Signed-off-by: Seth Jennings <sjenning@redhat.com>
> > ---
> > MAINTAINERS | 1 +
> > samples/Kconfig | 7 +++
> > samples/livepatch/Makefile | 1 +
> > samples/livepatch/livepatch-sample.c | 87 ++++++++++++++++++++++++++++++++++++
> > 4 files changed, 96 insertions(+)
> > create mode 100644 samples/livepatch/Makefile
> > create mode 100644 samples/livepatch/livepatch-sample.c
>
> [...]
>
> > diff --git a/samples/livepatch/Makefile b/samples/livepatch/Makefile
> > new file mode 100644
> > index 0000000..7f1cdc1
> > --- /dev/null
> > +++ b/samples/livepatch/Makefile
> > @@ -0,0 +1 @@
> > +obj-$(CONFIG_SAMPLE_LIVE_PATCHING) += livepatch-sample.o
> > diff --git a/samples/livepatch/livepatch-sample.c b/samples/livepatch/livepatch-sample.c
> > new file mode 100644
> > index 0000000..21f159d
>
> The Makefile is ignored because there is missing:
>
>
> diff --git a/samples/Makefile b/samples/Makefile
> index 1a60c62e2045..f00257bcc5a7 100644
> --- a/samples/Makefile
> +++ b/samples/Makefile
> @@ -1,4 +1,4 @@
> # Makefile for Linux samples code
>
> -obj-$(CONFIG_SAMPLES) += kobject/ kprobes/ trace_events/ \
> +obj-$(CONFIG_SAMPLES) += kobject/ kprobes/ trace_events/ livepatch/ \
> hw_breakpoint/ kfifo/ kdb/ hidraw/ rpmsg/ seccomp/

Applied, thanks!

Seth

>
>
> Best Regards,
> Petr
> --
> To unsubscribe from this list: send the line "unsubscribe live-patching" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html