Skip to content
Commit 7d6c3b49 authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/ap_bus: use and-mask instead of a cast



Let's get rid of another sparse false positive:

drivers/s390/crypto/ap_bus.c:416:64: warning:
  cast truncates bits from constant value (102030405060708 becomes 5060708)

So instead of using a cast let's use an and-mask.
That way sparse remains silent and one doesn't always have to check
if this is a valid warning/bug or just a false positive.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
parent 5eb8ae50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment