Re: [PATCH 03/13] livepatch: refactor klp_init_object

From
Christoph Hellwig <hch@lst.de>
Date
2021-01-28 16:25:59
Also in
linux-kbuild, linuxppc-dev, lkml
Reply to
Christoph Hellwig, 2021-01-28
On Thu, Jan 28, 2021 at 05:22:40PM +0100, Christoph Hellwig wrote:
quoted
We need to either update the function description or keep this check.

I prefer to keep the check. The function does the right thing also
for the object "vmlinux". Also the livepatch code includes many
similar paranoid checks that makes the code less error prone
against any further changes.
Well, the check is in the caller now where we have a conditional for
it.  So I'd be tempted to either update the comment, or just drop the
patch.
Also even without the check I think it will do the right thing when
called for vmlinux given that it simplify won't find a module called
vmlinux..
Thread (29 messages) 29 messages, 8 authors, last reply 2021-01-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help