summaryrefslogtreecommitdiffstats
path: root/lib/livepatch
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2019-02-04 14:56:50 +0100
committerPetr Mladek <pmladek@suse.com>2019-02-06 10:49:30 +0100
commitecba29f434a8fa333356d54d2491d174c4aab8de (patch)
tree5b094d13703679b37c690bc6b0db2ad4d324fd00 /lib/livepatch
parentlivepatch: core: Return EOPNOTSUPP instead of ENOSYS (diff)
downloadlinux-ecba29f434a8fa333356d54d2491d174c4aab8de.tar.xz
linux-ecba29f434a8fa333356d54d2491d174c4aab8de.zip
livepatch: Introduce klp_for_each_patch macro
There are already macros to iterate over struct klp_func and klp_object. Add also klp_for_each_patch(). But make it internal because also klp_patches list is internal. Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com> Acked-by: Miroslav Benes <mbenes@suse.cz> Acked-by: Joe Lawrence <joe.lawrence@redhat.com> Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'lib/livepatch')
0 files changed, 0 insertions, 0 deletions