On Fri, Dec 24, 2021 at 11:05:32AM +0000, Giovanni Cabiddu wrote: > The ring reset result values are defined starting from 0x1 instead of 0. > This causes out-of-tree drivers that support this message to understand > that a ring reset failed even if the operation was successful. > > Fix by starting the definition of ring reset result values from 0. > > Fixes: 0bba03ce9739 ("crypto: qat - add PFVF support to enable the reset of ring pairs") > Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx> > Reported-by: Adam Guerin <adam.guerin@xxxxxxxxx> > Reviewed-by: Marco Chiappero <marco.chiappero@xxxxxxxxx> > --- > drivers/crypto/qat/qat_common/adf_pfvf_msg.h | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt