xen/xenbus: Remove BUG_ON() when error string trucated
authorChen Gang <gang.chen.5i5j@gmail.com>
Fri, 26 Sep 2014 15:36:03 +0000 (23:36 +0800)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 6 Oct 2014 09:27:56 +0000 (10:27 +0100)
commit305559f16538708b603ceeb317ebaed9c4da9ce9
tree6b9e6ab3e351f865b817c296a25a9e19b56c69e4
parentc7440a2f225e3b37abbe27f069465cd31ba94b3c
xen/xenbus: Remove BUG_ON() when error string trucated

xenbus_va_dev_error() is for printing error, so when error string is
too long to be truncated, need not BUG_ON(), still return truncation
string is OK.

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/xenbus/xenbus_client.c