OpenCloudOS-Kernel/drivers/crypto/qat/qat_dh895xcc
Giovanni Cabiddu 097430ff78 crypto: qat - use BIT_ULL() - 1 pattern for masks
Replace occurrences of the pattern GENMASK_ULL(var - 1, 0)) with
BIT_ULL(var) - 1 since it produces better code and it is easier to read.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-10-30 17:34:56 +11:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
adf_dh895xcc_hw_data.c crypto: qat - use BIT_ULL() - 1 pattern for masks 2020-10-30 17:34:56 +11:00
adf_dh895xcc_hw_data.h crypto: qat - fix configuration of iov threads 2020-10-30 17:34:47 +11:00
adf_drv.c crypto: qat - add support for capability detection 2020-10-30 17:34:54 +11:00