summaryrefslogtreecommitdiffstats
path: root/arch/s390/pci/pci_debug.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-12-12 17:53:59 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-12-16 14:37:56 +0100
commitf7038b7c3f4924b18390c51c1ec1e49287cc87db (patch)
tree1d2db04d9d8ed0497694dc1fee5ae95b4de8d946 /arch/s390/pci/pci_debug.c
parent0c0c2776926018e7560b99e921467aea1115d03b (diff)
downloadlinux-f7038b7c3f4924b18390c51c1ec1e49287cc87db.tar.bz2
s390/pci/dma: fix accounting of allocated_pages
allocated_pages sometimes are increased even if s390_dma_alloc fails also this value is never decreased even if s390_dma_free is called. This patch fixes these bugs. Also remove the atomic64_t casts (the members are already of this type). Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/pci/pci_debug.c')
0 files changed, 0 insertions, 0 deletions