[BUG] Issue with commit 923044133367 ("ACPI: property: Unify integer value reading functions")

From: John Garry
Date: Mon Aug 15 2022 - 05:55:41 EST



My driver of interest fails to probe for v6.0-rc1 for ACPI FW:
[ 5.373722] hisi_sas_v2_hw HISI0162:01: could not get property sas-addr

from a device_property_read_u8_array() call

The following fixes it:
https://lore.kernel.org/linux-acpi/YvatSoqXEtI7oqUO@xxxxxxxxxxxxxxxxxxxxxx/T/#t

Tested-by: John Garry <john.garry@xxxxxxxxxx>

I'm just sending a separate mail to highlight this issue as I spent an appreciable time bisecting and want others to avoid that. And I could not find the fix mail for some reason, even though I subscribe to the acpi list.

John