diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-09-07 11:07:22 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-09-07 11:58:18 +0200 |
commit | 7d6c3b492f7fc1b0393b03ec6582a80c3a68bc42 (patch) | |
tree | 63387f98a92bb8780009aadbaa3ea66eafca5aad /arch | |
parent | 5eb8ae503e13c6eee3545e3e3be986db000ae8c2 (diff) | |
download | linux-7d6c3b492f7fc1b0393b03ec6582a80c3a68bc42.tar.bz2 |
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: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions