diff options
author | Herbert Xu | 2020-08-28 17:11:25 +1000 |
---|---|---|
committer | Linus Torvalds | 2020-08-28 11:21:20 -0700 |
commit | ef91bb196b0db1013ef8705367bc2d7944ef696b (patch) | |
tree | 7a3fc6c493f1cce875a5d2e7baf8cff4f72dcc0d /include/ras | |
parent | e30942859030199dab5ad73f95faac226133c639 (diff) |
kernel.h: Silence sparse warning in lower_32_bits
I keep getting sparse warnings in crypto such as:
CHECK drivers/crypto/ccree/cc_hash.c
drivers/crypto/ccree/cc_hash.c:49:9: warning: cast truncates bits from constant value (47b5481dbefa4fa4 becomes befa4fa4)
drivers/crypto/ccree/cc_hash.c:49:26: warning: cast truncates bits from constant value (db0c2e0d64f98fa7 becomes 64f98fa7)
[.. many more ..]
This patch removes the warning by adding a mask to keep sparse
happy.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/ras')
0 files changed, 0 insertions, 0 deletions