Skip to content

Commit f6b2db0

Browse files
shemmingergregkh
authored andcommitted
vmbus: make sysfs names consistent with PCI
In commit 9a56e5d6a0ba ("Drivers: hv: make VMBus bus ids persistent") the name of vmbus devices in sysfs changed to be (in 4.9-rc1): /sys/bus/vmbus/vmbus-6aebe374-9ba0-11e6-933c-00259086b36b The prefix ("vmbus-") is redundant and differs from how PCI is represented in sysfs. Therefore simplify to: /sys/bus/vmbus/6aebe374-9ba0-11e6-933c-00259086b36b Please merge this before 4.9 is released and the old format has to live forever. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 582ab27 commit f6b2db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hv/vmbus_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ int vmbus_device_register(struct hv_device *child_device_obj)
961961
{
962962
int ret = 0;
963963

964-
dev_set_name(&child_device_obj->device, "vmbus-%pUl",
964+
dev_set_name(&child_device_obj->device, "%pUl",
965965
child_device_obj->channel->offermsg.offer.if_instance.b);
966966

967967
child_device_obj->device.bus = &hv_bus;

0 commit comments

Comments
 (0)