Messages in this thread | | | Date | Tue, 26 Jun 2012 21:12:55 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH 2/8] free memory device if acpi_memory_enable_device() failed |
| |
On Tue, 26 Jun 2012, Wen Congyang wrote:
> If acpi_memory_enable_device() fails, acpi_memory_enable_device() will > return a non-zero value, which means we fail to bind the memory device > to this driver. So we should free memory device before acpi_memory_device_add() > returns. > > Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
| |