Skip to content

Commit e78963f

Browse files
sudeep-hollarafaeljw
authored andcommitted
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>
1 parent dd3fa54 commit e78963f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/acpi/apei/apei-base.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <linux/rculist.h>
2929
#include <linux/interrupt.h>
3030
#include <linux/debugfs.h>
31+
#include <acpi/apei.h>
3132
#include <asm/unaligned.h>
3233

3334
#include "apei-internal.h"

0 commit comments

Comments
 (0)