From: Sebastian Ott Date: Tue, 18 Jun 2013 15:32:26 +0000 (+0200) Subject: s390/dma: fix mapping_error detection X-Git-Tag: v3.10~22^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73e5a848426fae8e7f1f685389aa61d7a98e7c36;p=pandora-kernel.git s390/dma: fix mapping_error detection The map_page implementation of s390 returns DMA_ERROR_CODE in an error situation. Correctly test if a mapping was erroneous (DMA_ERROR_CODE is defined as ~0). Signed-off-by: Sebastian Ott Acked-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed