]> git.hungrycats.org Git - linux/commit
platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER
authorTzung-Bi Shih <tzungbi@kernel.org>
Thu, 3 Aug 2023 01:12:45 +0000 (09:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:42 +0000 (09:48 +0200)
commit39c23c94115352613281299b046c8e8b4a2a334d
tree9fcb1d692988680c2eab2d7a090509200b391e5d
parent01474630c56668c3b1261d572b24c748a1cc17ff
platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER

commit 0820debb7d489e9eb1f68b7bb69e6ae210699b3f upstream.

`element->buffer.pointer` should be binary blob.  `%s` doesn't work
perfect for them.

Print hex string for ACPI_TYPE_BUFFER.  Also update the documentation
to reflect this.

Fixes: 0a4cad9c11ad ("platform/chrome: Add ChromeOS ACPI device driver")
Cc: stable@vger.kernel.org
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230803011245.3773756-1-tzungbi@kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-driver-chromeos-acpi
drivers/platform/chrome/chromeos_acpi.c