]> git.itanic.dy.fi Git - linux-stable/commit
ACPI: APEI: Silence missing prototype warnings
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 16 Nov 2022 07:49:26 +0000 (07:49 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 23 Nov 2022 18:34:53 +0000 (19:34 +0100)
commite78963f5c528e484910a5c90fa3330dda03212e7
tree9bcfca591f6c8e86bcb3f15e9d900bcf0ff6064a
parentdd3fa54b2eeed20df7ecffdb3333026ba96668e1
ACPI: APEI: Silence missing prototype warnings

Silence the following warnings when make W=1:

 | CC   drivers/acpi/apei/apei-base.c
 |      warning: no previous prototype for 'arch_apei_enable_cmcff' [-Wmissing-prototypes]
 |              int __weak arch_apei_enable_cmcff(struct acpi_hest_header *hest_hdr,
 |                         ^
 | CC   drivers/acpi/apei/apei-base.c
 |      warning: no previous prototype for 'arch_apei_report_mem_error' [-Wmissing-prototypes]
 |              void __weak arch_apei_report_mem_error(int sev,
 |                          ^

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/apei-base.c