mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 06:39:57 +07:00
staging: usbip: userspace: usbip_list.c: modify exportable device output
Change spacing to provide better indentation for readability. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
dffb9649d3
commit
fcedd169be
@ -100,9 +100,9 @@ static int get_exported_devices(char *host, int sockfd)
|
|||||||
usbip_names_get_class(class_name, sizeof(class_name),
|
usbip_names_get_class(class_name, sizeof(class_name),
|
||||||
udev.bDeviceClass, udev.bDeviceSubClass,
|
udev.bDeviceClass, udev.bDeviceSubClass,
|
||||||
udev.bDeviceProtocol);
|
udev.bDeviceProtocol);
|
||||||
printf("%8s: %s\n", udev.busid, product_name);
|
printf("%11s: %s\n", udev.busid, product_name);
|
||||||
printf("%8s: %s\n", "", udev.path);
|
printf("%11s: %s\n", "", udev.path);
|
||||||
printf("%8s: %s\n", "", class_name);
|
printf("%11s: %s\n", "", class_name);
|
||||||
|
|
||||||
for (j = 0; j < udev.bNumInterfaces; j++) {
|
for (j = 0; j < udev.bNumInterfaces; j++) {
|
||||||
rc = usbip_net_recv(sockfd, &uintf, sizeof(uintf));
|
rc = usbip_net_recv(sockfd, &uintf, sizeof(uintf));
|
||||||
@ -118,7 +118,7 @@ static int get_exported_devices(char *host, int sockfd)
|
|||||||
uintf.bInterfaceClass,
|
uintf.bInterfaceClass,
|
||||||
uintf.bInterfaceSubClass,
|
uintf.bInterfaceSubClass,
|
||||||
uintf.bInterfaceProtocol);
|
uintf.bInterfaceProtocol);
|
||||||
printf("%8s: %2d - %s\n", "", j, class_name);
|
printf("%11s: %2d - %s\n", "", j, class_name);
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user