> -----Original Message----- > From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > Sent: Thursday, June 3, 2021 1:16 PM > To: Chiappero, Marco <marco.chiappero@xxxxxxxxx> > Cc: linux-crypto@xxxxxxxxxxxxxxx; qat-linux <qat-linux@xxxxxxxxx>; Cabiddu, > Giovanni <giovanni.cabiddu@xxxxxxxxx> > Subject: Re: [PATCH 01/10] crypto: qat - use proper type for vf_mask > > 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. Right, will resubmit soon. Thank you, Marco