diff options
author | Markus Elfring <[email protected]> | 2023-03-29 11:50:44 +0200 |
---|---|---|
committer | John Johansen <[email protected]> | 2023-07-06 10:58:49 -0700 |
commit | 6d7467957ecdc9018fb860bb60738e997abeaecb (patch) | |
tree | 09260d1f708c22274448d827ed0471f8abfd1588 /scripts/bpf_doc.py | |
parent | 755a22c74345a7b4c18dbb86f553eeb7895a97c9 (diff) |
apparmor: Return directly after a failed kzalloc() in two functions
1. Return directly after a call of the function “kzalloc” failed
at the beginning in these function implementations.
2. Omit extra initialisations (for a few local variables)
which became unnecessary with this refactoring.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions