From: Heiko Carstens Date: Mon, 16 Sep 2013 04:59:50 +0000 (+0200) Subject: s390/qdio: fix atomic_sub() misusage X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~58^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eddf0d5b31dda679a98f3e5615a510b8f065cb5d;p=pandora-kernel.git 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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed