1
0
Fork 0
alistair23-linux/drivers/s390
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
..
block s390/irq: rework irq subclass handling 2013-09-04 17:19:13 +02:00
char s390: make various functions static, add declarations to header files 2013-09-07 11:58:03 +02:00
cio s390/cio: fix unlocked access of global bitmap 2013-08-30 08:57:22 +02:00
crypto s390/ap_bus: use and-mask instead of a cast 2013-09-07 11:58:18 +02:00
kvm s390/irq: rework irq subclass handling 2013-09-04 17:19:13 +02:00
net s390: replace strict_strtoul() with kstrtoul() 2013-08-22 12:20:00 +02:00
scsi SCSI misc on 20130903 2013-09-03 15:48:06 -07:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00