summaryrefslogtreecommitdiffstats
path: root/samples/mei
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2020-01-16 16:31:45 +0100
committerJiri Kosina <jkosina@suse.cz>2020-01-17 11:12:06 +0100
commitf46e49a9cc3814f3564477f0fffc00e0a2bc9e80 (patch)
tree4b9fbbe6954225043b3b2f4261ae861b16119d55 /samples/mei
parentbe6da98425b69388ed31b18bd2497f826116f29b (diff)
downloadlinux-stable-f46e49a9cc3814f3564477f0fffc00e0a2bc9e80.tar.gz
linux-stable-f46e49a9cc3814f3564477f0fffc00e0a2bc9e80.tar.bz2
linux-stable-f46e49a9cc3814f3564477f0fffc00e0a2bc9e80.zip
livepatch: Handle allocation failure in the sample of shadow variable API
klp_shadow_alloc() is not handled in the sample of shadow variable API. It is not strictly necessary because livepatch_fix1_dummy_free() is able to handle the potential failure. But it is an example and it should use the API a clean way. Signed-off-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Joe Lawrence <joe.lawrence@redhat.com> Acked-by: Miroslav Benes <mbenes@suse.cz> Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples/mei')
0 files changed, 0 insertions, 0 deletions