Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: qat - replace hardcoded BIT(0) in vf_isr

Replace BIT(0) macro with proper definition in pf2vf path

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Giovanni Cabiddu and committed by
Herbert Xu
ac6d9a2c aebeff88

+2 -2
+2 -2
drivers/crypto/qat/qat_common/adf_vf_isr.c
··· 148 148 INIT_WORK(&stop_data->work, adf_dev_stop_async); 149 149 queue_work(adf_vf_stop_wq, &stop_data->work); 150 150 /* To ack, clear the PF2VFINT bit */ 151 - msg &= ~BIT(0); 151 + msg &= ~ADF_PF2VF_INT; 152 152 ADF_CSR_WR(pmisc_bar_addr, hw_data->get_pf2vf_offset(0), msg); 153 153 return; 154 154 } ··· 168 168 } 169 169 170 170 /* To ack, clear the PF2VFINT bit */ 171 - msg &= ~BIT(0); 171 + msg &= ~ADF_PF2VF_INT; 172 172 ADF_CSR_WR(pmisc_bar_addr, hw_data->get_pf2vf_offset(0), msg); 173 173 174 174 /* Re-enable PF2VF interrupts */