]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: PRM: Deal with table not present or no module found
authorAubrey Li <aubrey.li@intel.com>
Fri, 6 Aug 2021 00:46:24 +0000 (08:46 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 16 Aug 2021 15:06:40 +0000 (17:06 +0200)
commit2bbfa0addd63fd06756b7af8bf146ae166e2abf5
tree8db19f551231f382e004463c5e195175e89b6e3e
parent7c60610d476766e128cc4284bb6349732cbd6606
ACPI: PRM: Deal with table not present or no module found

On the system PRMT table is not present, dmesg output:

$ dmesg | grep PRM
[    1.532237] ACPI: PRMT not present
[    1.532237] PRM: found 4294967277 modules

The result of acpi_table_parse_entries need to be checked and return
immediately if PRMT table is not present or no PRM module found.

Signed-off-by: Aubrey Li <aubrey.li@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/prmt.c