/* Return the path to the error node for the given device, or NULL on failure. If the value returned is non-NULL, then it is the caller's to kfree.  */
static char* error_path(struct xenbus_device *dev)
/* Return the path to the error node for the given device, or NULL on failure. If the value returned is non-NULL, then it is the caller's to kfree.  */
static char* error_path(struct xenbus_device *dev)
{
	return kasprintf(GFP_KERNEL, "error/%s", dev->nodename);
}