From: Sebastian Ott Date: Thu, 12 Dec 2013 16:53:59 +0000 (+0100) Subject: s390/pci/dma: fix accounting of allocated_pages X-Git-Tag: v3.14-rc1~184^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7038b7c3f4924b18390c51c1ec1e49287cc87db;p=pandora-kernel.git 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 Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed