Activity/linux-pm ACPI: Load OSDT tables from initrd at boot time RFC Chen, Yu C 1 participant 1 message Aug 10, 2015 TreeChronological All quotes loreShare & toolsCopy link lore Chen, Yu C author 2015-08-10 07:45 UTC #0 Copy lore rawReviewQuoted 3 lines · Zhang Rui(quoted diff) +3 -0+ p = acpi_os_map_memory(table_offset + acpi_tables_addr, + ACPI_HEADER_SIZE); + table = *p; Maybe should check if p!=NULL ?Best Regards,Yu
Chen, Yu C author 2015-08-10 07:45 UTC #0 Copy lore rawReviewQuoted 3 lines · Zhang Rui(quoted diff) +3 -0+ p = acpi_os_map_memory(table_offset + acpi_tables_addr, + ACPI_HEADER_SIZE); + table = *p; Maybe should check if p!=NULL ?Best Regards,Yu