summaryrefslogtreecommitdiffstats
path: root/drivers/misc/bmp085.h
diff options
context:
space:
mode:
authorJennifer Herbert <Jennifer.Herbert@citrix.com>2015-02-05 14:45:40 +0000
committerDavid Vrabel <david.vrabel@citrix.com>2015-02-05 15:04:46 +0000
commita2e75bc2ee207351e6806e77a5379c6c1dd4598a (patch)
tree3d2deab1b547ecb3fb46d4e0ce6bf46a221d6ae4 /drivers/misc/bmp085.h
parentdab069c61aa386f6a46c620f3a1075a4818f285b (diff)
downloadlinux-a2e75bc2ee207351e6806e77a5379c6c1dd4598a.tar.gz
linux-a2e75bc2ee207351e6806e77a5379c6c1dd4598a.tar.bz2
linux-a2e75bc2ee207351e6806e77a5379c6c1dd4598a.zip
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 <Jennifer.Herbert@citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/misc/bmp085.h')
0 files changed, 0 insertions, 0 deletions