On Thu, May 27, 2021 at 08:12:42PM +0100, Marco Chiappero wrote: > > diff --git a/drivers/crypto/qat/qat_common/adf_isr.c b/drivers/crypto/qat/qat_common/adf_isr.c > index e3ad5587be49..22f8ef5bfbc5 100644 > --- a/drivers/crypto/qat/qat_common/adf_isr.c > +++ b/drivers/crypto/qat/qat_common/adf_isr.c > @@ -15,6 +15,10 @@ > #include "adf_transport_access_macros.h" > #include "adf_transport_internal.h" > > +#ifdef CONFIG_PCI_IOV > +#define ADF_MAX_NUM_VFS 32 > +#endif The #ifdef is not necessary. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt