From: Jennifer Herbert Date: Thu, 5 Feb 2015 14:45:40 +0000 (+0000) Subject: xenbus: Add proper handling of XS_ERROR from Xenbus for transactions. X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~146^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2e75bc2ee207351e6806e77a5379c6c1dd4598a;p=pandora-kernel.git xenbus: Add proper handling of XS_ERROR from Xenbus for transactions. If Xenstore sends back a XS_ERROR for TRANSACTION_END, the driver BUGs because it cannot find the matching transaction in the list. For TRANSACTION_START, it leaks memory. Check the message as returned from xenbus_dev_request_and_reply(), and clean up for TRANSACTION_START or discard the error for TRANSACTION_END. Signed-off-by: Jennifer Herbert Signed-off-by: David Vrabel --- Reading git-diff-tree failed