VMCI: Fix integer overflow in VMCI handle arrays
[platform/kernel/linux-rpi.git] / include / acpi / nfit.h
1 /*
2  * SPDX-License-Identifier: GPL-2.0
3  * Copyright (C) 2018 Intel Corporation
4  */
5
6 #ifndef __ACPI_NFIT_H
7 #define __ACPI_NFIT_H
8
9 #if IS_ENABLED(CONFIG_ACPI_NFIT)
10 int nfit_get_smbios_id(u32 device_handle, u16 *flags);
11 #else
12 static inline int nfit_get_smbios_id(u32 device_handle, u16 *flags)
13 {
14         return -EOPNOTSUPP;
15 }
16 #endif
17
18 #endif /* __ACPI_NFIT_H */