Furquan Shaikh has submitted this change. ( https://review.coreboot.org/c/coreboot/+/43540 )
Change subject: device: Increase DEVICE_PATH_MAX to 40 ......................................................................
device: Increase DEVICE_PATH_MAX to 40
This change increases the maximum length of device path string to 40 characters to accommodate growing hierarchy of devices.
TEST=Ensured that "_SB.PCI0.LPCB.EC0.CREC.TUN0.RT58" is correctly added to SSDT.
Change-Id: Id2ef71a32b26e366b56c652942a247de4889544a Signed-off-by: Furquan Shaikh furquan@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/43540 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Aaron Durbin adurbin@chromium.org --- M src/include/device/path.h 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Aaron Durbin: Looks good to me, approved
diff --git a/src/include/device/path.h b/src/include/device/path.h index 964b472..4db83b7 100644 --- a/src/include/device/path.h +++ b/src/include/device/path.h @@ -138,7 +138,7 @@ };
-#define DEVICE_PATH_MAX 30 +#define DEVICE_PATH_MAX 40 #define BUS_PATH_MAX (DEVICE_PATH_MAX+10)
extern const char *dev_path_name(enum device_path_type type);