remove memory info from list before freeing it
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 8 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 8 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] remove memory info from list before freeing it
We free info, but we forget to remove it from the list. It will cause unexpected problem when we access the list next time.
Signed-off-by Wen Congyang <[email protected]>
--- drivers/acpi/acpi_memhotplug.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/acpi/acpi_memhotplug.c +1 -0
@@ -323,6 +323,7 @@ static int acpi_memory_disable_device(struct acpi_memory_device *mem_device)if (result)return result; } +list_del (&info->list);kfree (info); }
Signature · 1 line
1.7.1