summaryrefslogtreecommitdiffstats
path: root/include/net/netlabel.h
diff options
context:
space:
mode:
authorWen Congyang <wency@cn.fujitsu.com>2012-11-16 02:08:16 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-16 02:08:16 +0100
commite0b7b24dd9559fcda0f8bfd6acbcad81682c4fdd (patch)
treec65d30553948fbd64cda945b1a8eaf4a45dd064c /include/net/netlabel.h
parentACPI / memhotplug: fix memory leak when memory device is unbound from acpi_me... (diff)
downloadlinux-e0b7b24dd9559fcda0f8bfd6acbcad81682c4fdd.tar.xz
linux-e0b7b24dd9559fcda0f8bfd6acbcad81682c4fdd.zip
ACPI / memhotplug: free memory device if acpi_memory_enable_device() failed
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> Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/net/netlabel.h')
0 files changed, 0 insertions, 0 deletions