From: Konrad Rzeszutek Wilk Date: Mon, 17 Sep 2012 14:20:09 +0000 (-0400) Subject: xen/swiotlb: For early initialization, return zero on success. X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~30^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c468bdee28a1cb61d9b7a8ce9859d17dee43b7d7;p=pandora-kernel.git xen/swiotlb: For early initialization, return zero on success. If everything is setup properly we would return -ENOMEM since rc by default is set to that value. Lets not do that and return a proper return code. Note: The reason the early code needs this special treatment is that it SWIOTLB library call does not return anything (and had it failed it would call panic()) - but our function does. Acked-by: Stefano Stabellini Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed