diff options
author | Jinjie Ruan <[email protected]> | 2024-09-03 11:53:58 +0800 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2024-09-04 11:57:48 +0200 |
commit | 85a147a986e4feafb9286fabaf03a302a611cd85 (patch) | |
tree | ba7b3a629e1d27245ced2c98c2c8c39de6c1f971 /lib/crypto/mpi/mpiutil.c | |
parent | 59cd94ef80094857f0d0085daa2e32badc4cddf4 (diff) |
printk: Use the BITS_PER_LONG macro
sizeof(unsigned long) * 8 is the number of bits in an unsigned long
variable, replace it with BITS_PER_LONG macro to make it simpler.
Signed-off-by: Jinjie Ruan <[email protected]>
Reviewed-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions