search for: child_hyperv_dev

Displaying 2 results from an estimated 2 matches for "child_hyperv_dev".

2011 Feb 24
4
[PATCH ] Staging: hv: Hyper-V driver cleanup
...*vmbus_child_device_create(struct hv_guid *type, +struct hyperv_device *vmbus_child_device_create(struct hv_guid *type, struct hv_guid *instance, struct vmbus_channel *channel) { - struct vm_device *child_device_ctx; - struct hv_device *child_device_obj; + struct hyperv_device *child_hyperv_dev; /* Allocate the new child device */ - child_device_ctx = kzalloc(sizeof(struct vm_device), GFP_KERNEL); - if (!child_device_ctx) { + child_hyperv_dev = kzalloc(sizeof(struct hyperv_device), GFP_KERNEL); + if (!child_hyperv_dev) { DPRINT_ERR(VMBUS_DRV, "unable to allocate device_con...
2011 Feb 24
4
[PATCH ] Staging: hv: Hyper-V driver cleanup
...*vmbus_child_device_create(struct hv_guid *type, +struct hyperv_device *vmbus_child_device_create(struct hv_guid *type, struct hv_guid *instance, struct vmbus_channel *channel) { - struct vm_device *child_device_ctx; - struct hv_device *child_device_obj; + struct hyperv_device *child_hyperv_dev; /* Allocate the new child device */ - child_device_ctx = kzalloc(sizeof(struct vm_device), GFP_KERNEL); - if (!child_device_ctx) { + child_hyperv_dev = kzalloc(sizeof(struct hyperv_device), GFP_KERNEL); + if (!child_hyperv_dev) { DPRINT_ERR(VMBUS_DRV, "unable to allocate device_con...