diff options
author | Petr Mladek <[email protected]> | 2020-01-16 16:31:45 +0100 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2020-01-17 11:12:06 +0100 |
commit | f46e49a9cc3814f3564477f0fffc00e0a2bc9e80 (patch) | |
tree | 4b9fbbe6954225043b3b2f4261ae861b16119d55 /scripts/bpf_helpers_doc.py | |
parent | be6da98425b69388ed31b18bd2497f826116f29b (diff) |
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 <[email protected]>
Reviewed-by: Joe Lawrence <[email protected]>
Acked-by: Miroslav Benes <[email protected]>
Reviewed-by: Kamalesh Babulal <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions