diff options
| author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2020-10-12 21:38:37 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-30 17:34:56 +1100 |
| commit | 097430ff7809c65697451a56b48fbe520b2ea27c (patch) | |
| tree | 21131cff038c7d2d8cb82ece75d3c75357f3b15d /tools/perf/scripts/python | |
| parent | crypto: qat - replace constant masks with GENMASK (diff) | |
| download | linux-097430ff7809c65697451a56b48fbe520b2ea27c.tar.gz linux-097430ff7809c65697451a56b48fbe520b2ea27c.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
