From: Damian Hobson-Garcia Date: Fri, 16 Nov 2012 05:46:10 +0000 (+0900) Subject: drivers: uio_dmem_genirq: Don't use DMA_ERROR_CODE to indicate unmapped regions X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~85^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87c4d1a7dce956b86e34329ed1b11a751ba9a8ea;p=pandora-kernel.git drivers: uio_dmem_genirq: Don't use DMA_ERROR_CODE to indicate unmapped regions DMA_ERROR_CODE is not defined on all architectures and is architecture specific. Instead, use the constant, ~0 to indicate unmapped regions. Reported-by: Fengguang Wu Reported-by: Geert Uytterhoeven Signed-off-by: Damian Hobson-Garcia Cc: "Hans J. Koch" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed