commit | e83dda06242073b1c7f9a88f1001e32a4b9fcd1d | [log] [tgz] |
---|---|---|
author | Al Stone <ahs3@redhat.com> | Wed Oct 09 14:21:10 2013 -0600 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Oct 10 22:31:21 2013 +0200 |
tree | cf75d28d881175bd8eb0c9b9c1f823984782d167 | |
parent | 088f1fd267c7f43b5d87850a0fa0c7e851ecae97 [diff] |
ACPI: improve acpi_extract_package() utility The current version requires one to know the size of the package a priori; this is almost impossible if the package is composed of strings of variable length. This change allows the utility to allocate a buffer of the proper size if asked. Signed-off-by: Al Stone <al.stone@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>