crypto: qat - replace hardcoded BIT(0) in vf_isr
PATCH 1/1 crypto: qat - replace hardcoded BIT(0) in vf_isr
Replace BIT(0) macro with proper definition in pf2vf path
Signed-off-by Giovanni Cabiddu <[email protected]>
--- drivers/crypto/qat/qat_common/adf_vf_isr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/crypto/qat/qat_common/adf_vf_isr.c +2 -2
@@ -148,7 +148,7 @@ static void adf_pf2vf_bh_handler(void *data)INIT_WORK (&stop_data->work, adf_dev_stop_async);queue_work (adf_vf_stop_wq, &stop_data->work);/* To ack, clear the PF2VFINT bit */ - msg &= ~BIT (0 ); + msg &= ~ADF_PF2VF_INT ;ADF_CSR_WR (pmisc_bar_addr, hw_data->get_pf2vf_offset (0 ), msg);return ; }
@@ -168,7 +168,7 @@ static void adf_pf2vf_bh_handler(void *data) }/* To ack, clear the PF2VFINT bit */ - msg &= ~BIT (0 ); + msg &= ~ADF_PF2VF_INT ;ADF_CSR_WR (pmisc_bar_addr, hw_data->get_pf2vf_offset (0 ), msg);/* Re-enable PF2VF interrupts */
Signature · 1 line
2.9.3
Herbert Xu
maintainerQuoted 3 lines · Giovanni Cabiddu
Replace BIT(0) macro with proper definition in pf2vf path
Signed-off-by Giovanni Cabiddu <[email protected]>
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt