Bob Moore ac0c845026 ACPICA: Fix parameter validation for acpi_read/write
Now return AE_BAD_PARAMETER if the input register pointer is
null, and AE_BAD_ADDRESS if the register has an address of zero.
Previously, these cases simply returned AE_OK. For optional
registers such as PM1B status/enable/control, the caller should
check for a valid register address before calling.  ACPICA BZ 748.

http://www.acpica.org/bugzilla/show_bug.cgi?id=748

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-03-26 16:38:25 -04:00
..
2009-02-18 17:41:38 -08:00
2009-03-10 15:55:10 -07:00
2009-03-18 13:16:30 +11:00
2009-03-13 01:16:58 -04:00
2009-02-18 15:37:56 -08:00
2009-01-29 18:04:43 -08:00
2009-02-26 10:32:31 -08:00
2009-02-27 16:26:22 -08:00
2009-03-26 16:38:21 -04:00
2009-02-11 14:25:36 -08:00
2009-02-18 15:37:56 -08:00