diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-08-12 21:48:52 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-09-01 20:34:48 +0900 |
commit | aeaa4283a309520c22a783071f554645943955d8 (patch) | |
tree | 4f61ef553883115c7bd7efd4da8bd124e02a62c9 /scripts/module-common.c | |
parent | 4c2598e3b62102d5ea7f618e13d996b069cde27d (diff) |
kallsyms: use xmalloc() and xrealloc()
When malloc() or realloc() fails, there is not much userspace programs
can do. xmalloc() and xrealloc() are useful to bail out on a memory
allocation failure.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions