1
0
Fork 0
alistair23-linux/drivers/s390/crypto
Heiko Carstens 7d6c3b492f 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>
2013-09-07 11:58:18 +02:00
..
Makefile s390/zcrypt: Add support for CEX4 crypto card 2012-09-26 15:44:56 +02:00
ap_bus.c s390/ap_bus: use and-mask instead of a cast 2013-09-07 11:58:18 +02:00
ap_bus.h s390/zcryt: Handle AP configuration changes 2012-09-26 15:45:17 +02:00
zcrypt_api.c s390/zcryt: Handle AP configuration changes 2012-09-26 15:45:17 +02:00
zcrypt_api.h s390/zcryt: Handle AP configuration changes 2012-09-26 15:45:17 +02:00
zcrypt_cca_key.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcrypt_cex2a.c s390/zcrypt: Separate msgtype implementation from card modules. 2012-09-26 15:44:55 +02:00
zcrypt_cex2a.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcrypt_cex4.c s390/zcrypt: Add support for CEX4 crypto card 2012-09-26 15:44:56 +02:00
zcrypt_cex4.h s390/zcrypt: Add support for CEX4 crypto card 2012-09-26 15:44:56 +02:00
zcrypt_debug.h s390/zcryt: Handle AP configuration changes 2012-09-26 15:45:17 +02:00
zcrypt_error.h s390/zcryt: Handle AP configuration changes 2012-09-26 15:45:17 +02:00
zcrypt_msgtype6.c s390/zcrypt: Separate msgtype implementation from card modules. 2012-09-26 15:44:55 +02:00
zcrypt_msgtype6.h s390/zcrypt: Separate msgtype implementation from card modules. 2012-09-26 15:44:55 +02:00
zcrypt_msgtype50.c s390/zcrypt: msgType50 (RSA-CRT) fix 2012-11-23 11:14:30 +01:00
zcrypt_msgtype50.h s390/zcrypt: msgType50 (RSA-CRT) fix 2012-11-23 11:14:30 +01:00
zcrypt_pcica.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcrypt_pcica.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcrypt_pcicc.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcrypt_pcicc.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcrypt_pcixcc.c s390/zcrypt: remove duplicated include from zcrypt_pcixcc.c 2012-10-09 14:17:00 +02:00
zcrypt_pcixcc.h s390/zcrypt: Separate msgtype implementation from card modules. 2012-09-26 15:44:55 +02:00