2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/drivers/s390
Heiko Carstens eddf0d5b31 s390/qdio: fix atomic_sub() misusage
get_inbound_buffer_frontier() makes use of the return value of atomic_sub()
which shouldn't work, since atomic_sub() is supposed to return void.
This only works on s390 because atomic_sub() gets mapped to atomic_sub_return()
with a define without changing it's return value to void.

So use atomic_sub_return() instead of atomic_sub() in qeth code before fixing
atomic ops.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-10-24 17:16:50 +02:00
..
block s390/dasd: check for availability of prefix command during format 2013-10-15 13:47:58 +02:00
char s390/time: correct use of store clock fast 2013-10-22 09:16:40 +02:00
cio s390/qdio: fix atomic_sub() misusage 2013-10-24 17:16:50 +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