mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 07:20:50 +07:00
5f30b2e823
kzalloc() return should always be checked - notably in example code
where this may be seen as reference. On failure of allocation in
livepatch_fix1_dummy_alloc() respectively dummy_alloc() previous
allocation is freed (thanks to Petr Mladek <pmladek@suse.com> for
catching this) and NULL returned.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Fixes:
|
||
---|---|---|
.. | ||
livepatch-callbacks-busymod.c | ||
livepatch-callbacks-demo.c | ||
livepatch-callbacks-mod.c | ||
livepatch-sample.c | ||
livepatch-shadow-fix1.c | ||
livepatch-shadow-fix2.c | ||
livepatch-shadow-mod.c | ||
Makefile |