rem: if (res < B_OK)
add: if (res < B_OK) { dprintf("init device failed (node %p, %s): %s\n", node, module_name, strerror(res));
context: load_driver_int(pnp_node_info *node, void *user_cookie){	char *module_name;	pnp_driver_info *driver;	void *cookie;	status_t res;	TRACE(("load_driver_int()\n"));	res = pnp_get_attr_string(node, PNP_DRIVER_DRIVER, &module_name, false);	if (res != B_OK)		return res;	TRACE(("%s\n", module_name));	res = get_module(module_name, (module_info **)&driver);	if (res < B_OK) {		dprintf("Cannot load module %s\n", module_name);		goto err;	}	if (driver->init_device == NULL) {		dprintf("Driver %s has no init_device hook\n", module_name);		res = B_ERROR;		goto err2;	}	res = driver->init_device(node, user_cookie, &cookie);	if (res < B_OK)		goto err2;	node->driver = driver;	node->cookie = cookie;	free(module_name);	return B_OK;err2:	put_module(module_name);	err:	free(module_name);	return res;}