From: Julian Andres Klode Date: Tue, 27 Sep 2011 17:00:55 +0000 (+0200) Subject: staging: nvec: Have nvec_write_async() return -ENOMEM on OOM X-Git-Tag: v3.2-rc1~169^2^2~321 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b9bf629ea42fdacd951b9190f86b028557bbe19;p=pandora-kernel.git staging: nvec: Have nvec_write_async() return -ENOMEM on OOM Change nvec_write_async() to return an integer, 0 by default, a negative error on failure. Change nvec_write_sync() to check the return value and abort if it is negative. Signed-off-by: Julian Andres Klode Acked-by: Marc Dietrich Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed