Searched hist:f46e49a9cc3814f3564477f0fffc00e0a2bc9e80 (Results 1 – 1 of 1) sorted by relevance
/linux/samples/livepatch/ |
H A D | livepatch-shadow-fix1.c | diff f46e49a9cc3814f3564477f0fffc00e0a2bc9e80 Thu Jan 16 16:31:45 CET 2020 Petr Mladek <pmladek@suse.com> 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>
|