mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 16:36:52 +07:00
4ddf4739be
kobject_init_and_add() takes reference even when it fails.
If this function returns an error, kobject_put() must be called to
properly clean up the memory associated with the object. Previous
commit "b8eb718348b8" fixed a similar problem.
Fixes:
|
||
---|---|---|
.. | ||
libstub | ||
test | ||
apple-properties.c | ||
arm-init.c | ||
arm-runtime.c | ||
capsule-loader.c | ||
capsule.c | ||
cper-arm.c | ||
cper-x86.c | ||
cper.c | ||
dev-path-parser.c | ||
earlycon.c | ||
efi-bgrt.c | ||
efi-pstore.c | ||
efi.c | ||
efibc.c | ||
efivars.c | ||
embedded-firmware.c | ||
esrt.c | ||
fake_mem.c | ||
fake_mem.h | ||
fdtparams.c | ||
Kconfig | ||
Makefile | ||
memattr.c | ||
memmap.c | ||
rci2-table.c | ||
reboot.c | ||
runtime-map.c | ||
runtime-wrappers.c | ||
tpm.c | ||
vars.c | ||
x86_fake_mem.c |