Re: [PATCH v2 2/2] crypto: qat - add pm_status debugfs file
From: Herbert Xu
Date: Fri Aug 25 2023 - 06:40:18 EST
On Fri, Aug 18, 2023 at 12:23:09PM +0200, Lucas Segarra Fernandez wrote:
>
> diff --git a/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c b/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c
> index 3bde8759c2a2..911aca862798 100644
> --- a/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c
> +++ b/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c
> @@ -1,8 +1,15 @@
> // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
> /* Copyright(c) 2022 Intel Corporation */
> #include <linux/bitfield.h>
> +#include <linux/bits.h>
This is redundant if you include linux/kernel.
> +#include <linux/dma-mapping.h>
> +#include <linux/fs.h>
> #include <linux/iopoll.h>
> #include <linux/kstrtox.h>
> +#include <linux/slab.h>
> +#include <linux/stddef.h>
So is this.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt