diff options
author | Petr Mladek <pmladek@suse.com> | 2020-01-16 18:31:45 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2020-01-17 13:12:06 +0300 |
commit | f46e49a9cc3814f3564477f0fffc00e0a2bc9e80 (patch) | |
tree | 4b9fbbe6954225043b3b2f4261ae861b16119d55 /samples/pidfd | |
parent | be6da98425b69388ed31b18bd2497f826116f29b (diff) | |
download | linux-f46e49a9cc3814f3564477f0fffc00e0a2bc9e80.tar.xz |
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/pidfd')
0 files changed, 0 insertions, 0 deletions