[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW4xZ-d7Yk0VLcym4UfFwzo6yd190hVSsiwNdSEzz9xeKA@mail.gmail.com>
Date: Thu, 8 Dec 2022 16:11:06 -0800
From: Song Liu <song@...nel.org>
To: Zhen Lei <thunder.leizhen@...wei.com>
Cc: Josh Poimboeuf <jpoimboe@...nel.org>,
Jiri Kosina <jikos@...nel.org>,
Miroslav Benes <mbenes@...e.cz>,
Petr Mladek <pmladek@...e.com>,
Joe Lawrence <joe.lawrence@...hat.com>,
live-patching@...r.kernel.org, linux-kernel@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>,
Alexei Starovoitov <ast@...nel.org>,
Jiri Olsa <jolsa@...nel.org>,
Kees Cook <keescook@...omium.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Luis Chamberlain <mcgrof@...nel.org>,
linux-modules@...r.kernel.org
Subject: Re: [PATCH] livepatch: Call klp_match_callback() in
klp_find_callback() to avoid code duplication
On Tue, Dec 6, 2022 at 7:25 PM Zhen Lei <thunder.leizhen@...wei.com> wrote:
>
> The implementation of function klp_match_callback() is identical to the
> partial implementation of function klp_find_callback(). So call function
> klp_match_callback() in function klp_find_callback() instead of the
> duplicated code.
>
> Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
Acked-by: Song Liu <song@...nel.org>
Powered by blists - more mailing lists