git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f277257
)
dell-wmi, hp-wmi, msi-wmi: check wmi_get_event_data() return value
author
Len Brown
<len.brown@intel.com>
Sun, 27 Dec 2009 04:02:24 +0000
(23:02 -0500)
committer
Len Brown
<len.brown@intel.com>
Wed, 30 Dec 2009 07:48:52 +0000
(
02:48
-0500)
When acpi_evaluate_object() is passed ACPI_ALLOCATE_BUFFER,
the caller must kfree the returned buffer if AE_OK is returned.
The callers of wmi_get_event_data() pass ACPI_ALLOCATE_BUFFER,
and thus must check its return value before accessing
or kfree() on the buffer.
Signed-off-by: Len Brown <len.brown@intel.com>
No differences found