git: 1c4c92f91b41 - main - qat: Add #includes for missing prototypes.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Sep 2022 21:53:09 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1c4c92f91b41861b1c9c71297695b89033827871 commit 1c4c92f91b41861b1c9c71297695b89033827871 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-09-02 21:51:54 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-09-02 21:51:54 +0000 qat: Add #includes for missing prototypes. This fixes numerous -Wmissing-prototypes warnings when that warning is enabled. Reviewed by: MichalX.Gulbicki_intel.com, markj Sponsored by: DARPA Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D36331 --- sys/dev/qat/qat_api/qat_kernel/src/lac_adf_interface_freebsd.c | 2 ++ sys/dev/qat/qat_api/qat_kernel/src/qat_transport.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/sys/dev/qat/qat_api/qat_kernel/src/lac_adf_interface_freebsd.c b/sys/dev/qat/qat_api/qat_kernel/src/lac_adf_interface_freebsd.c index 7669e21eeaa1..fc75178946c4 100644 --- a/sys/dev/qat/qat_api/qat_kernel/src/lac_adf_interface_freebsd.c +++ b/sys/dev/qat/qat_api/qat_kernel/src/lac_adf_interface_freebsd.c @@ -5,6 +5,8 @@ #include "cpa.h" #include "icp_accel_devices.h" #include "adf_common_drv.h" +#include "icp_adf_accel_mgr.h" +#include "icp_adf_cfg.h" #include "icp_adf_debug.h" #include "icp_adf_init.h" #include "lac_sal_ctrl.h" diff --git a/sys/dev/qat/qat_api/qat_kernel/src/qat_transport.c b/sys/dev/qat/qat_api/qat_kernel/src/qat_transport.c index f8aa6e0ac3e3..739cd026eedf 100644 --- a/sys/dev/qat/qat_api/qat_kernel/src/qat_transport.c +++ b/sys/dev/qat/qat_api/qat_kernel/src/qat_transport.c @@ -6,7 +6,10 @@ #include "cpa.h" #include "icp_adf_init.h" +#include "icp_adf_transport.h" +#include "icp_adf_poll.h" #include "icp_adf_transport_dp.h" +#include "icp_sal_poll.h" /* * adf_modulo