[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181018124001.tler4fclqgoh6saf@pathway.suse.cz>
Date: Thu, 18 Oct 2018 14:40:01 +0200
From: Petr Mladek <pmladek@...e.com>
To: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Jiri Kosina <jikos@...nel.org>, Miroslav Benes <mbenes@...e.cz>,
Jason Baron <jbaron@...mai.com>,
Joe Lawrence <joe.lawrence@...hat.com>,
Evgenii Shatokhin <eshatokhin@...tuozzo.com>,
live-patching@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v13 09/12] livepatch: Remove Nop structures when unused
On Wed 2018-10-17 15:48:21, Josh Poimboeuf wrote:
> On Mon, Oct 15, 2018 at 02:37:10PM +0200, Petr Mladek wrote:
> > +void klp_discard_replaced_stuff(struct klp_patch *new_patch)
> > +{
> > + klp_discard_replaced_patches(new_patch);
> > + klp_discard_nops(new_patch);
> > +}
> > +
> > +/*
>
> Stuff? Really? :-) How about klp_discard_replaced()?
Anything looks confusing. I think that I'll just get rid of it
and call the two functions directly.
Best Regards,
Petr
Powered by blists - more mailing lists