Dave Jiang wrote: > Add helper functions to parse the CDAT table and provide a callback to > parse the sub-table. Helpers are provided for DSMAS and DSLBIS sub-table > parsing. The code is patterned after the ACPI table parsing helpers. It seems a shame that CDAT is so ACPI-like, but can't reuse the ACPI table parsing infrastructure. Can this not be achieved by modifying some of the helpers helpers in drivers/acpi/tables.c to take a passed in @table_header?