From 1408da94cbd30597be4d999c80a996143fad205e Mon Sep 17 00:00:00 2001 From: Stefan Reif Date: Fri, 22 Feb 2013 12:13:33 +0100 Subject: [PATCH] --- yaml --- r: 363341 b: refs/heads/master c: 5037307d51636e7c784ceef8aa23e0c074d429a7 h: refs/heads/master i: 363339: 6f7975213a540fc647970ab56bf8cd299042f2ae v: v3 --- [refs] | 2 +- trunk/drivers/staging/usbip/userspace/src/usbip_detach.c | 2 +- trunk/drivers/staging/usbip/userspace/src/usbip_network.c | 2 +- trunk/drivers/staging/usbip/userspace/src/usbip_network.h | 4 ++-- trunk/drivers/staging/usbip/userspace/src/usbipd.c | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index e94d52af47cb..ac0f12b5123c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c46cb54db3a01223bdd457ead25d4a3582c0babe +refs/heads/master: 5037307d51636e7c784ceef8aa23e0c074d429a7 diff --git a/trunk/drivers/staging/usbip/userspace/src/usbip_detach.c b/trunk/drivers/staging/usbip/userspace/src/usbip_detach.c index dac5f065755a..13308df613a2 100644 --- a/trunk/drivers/staging/usbip/userspace/src/usbip_detach.c +++ b/trunk/drivers/staging/usbip/userspace/src/usbip_detach.c @@ -49,7 +49,7 @@ static int detach_port(char *port) uint8_t portnum; char path[PATH_MAX+1]; - for (unsigned int i=0; i < strlen(port); i++) + for (unsigned int i = 0; i < strlen(port); i++) if (!isdigit(port[i])) { err("invalid port %s", port); return -1; diff --git a/trunk/drivers/staging/usbip/userspace/src/usbip_network.c b/trunk/drivers/staging/usbip/userspace/src/usbip_network.c index 1a84dd37e125..4cb76e5d71c8 100644 --- a/trunk/drivers/staging/usbip/userspace/src/usbip_network.c +++ b/trunk/drivers/staging/usbip/userspace/src/usbip_network.c @@ -56,7 +56,7 @@ void usbip_net_pack_usb_device(int pack, struct usbip_usb_device *udev) { usbip_net_pack_uint32_t(pack, &udev->busnum); usbip_net_pack_uint32_t(pack, &udev->devnum); - usbip_net_pack_uint32_t(pack, &udev->speed ); + usbip_net_pack_uint32_t(pack, &udev->speed); usbip_net_pack_uint16_t(pack, &udev->idVendor); usbip_net_pack_uint16_t(pack, &udev->idProduct); diff --git a/trunk/drivers/staging/usbip/userspace/src/usbip_network.h b/trunk/drivers/staging/usbip/userspace/src/usbip_network.h index 2d1e070fb7b8..1bbefc993fb1 100644 --- a/trunk/drivers/staging/usbip/userspace/src/usbip_network.h +++ b/trunk/drivers/staging/usbip/userspace/src/usbip_network.h @@ -35,8 +35,8 @@ struct op_common { #define PACK_OP_COMMON(pack, op_common) do {\ usbip_net_pack_uint16_t(pack, &(op_common)->version);\ - usbip_net_pack_uint16_t(pack, &(op_common)->code );\ - usbip_net_pack_uint32_t(pack, &(op_common)->status );\ + usbip_net_pack_uint16_t(pack, &(op_common)->code);\ + usbip_net_pack_uint32_t(pack, &(op_common)->status);\ } while (0) /* ---------------------------------------------------------------------- */ diff --git a/trunk/drivers/staging/usbip/userspace/src/usbipd.c b/trunk/drivers/staging/usbip/userspace/src/usbipd.c index 34760cc1d10e..cc3be17b9e24 100644 --- a/trunk/drivers/staging/usbip/userspace/src/usbipd.c +++ b/trunk/drivers/staging/usbip/userspace/src/usbipd.c @@ -60,7 +60,7 @@ static const char usbipd_help_string[] = " -d, --debug \n" " Print debugging information. \n" " \n" - " -h, --help \n" + " -h, --help \n" " Print this help. \n" " \n" " -v, --version \n" @@ -446,7 +446,7 @@ static int do_standalone_mode(int daemonize) } if (daemonize) { - if (daemon(0,0) < 0) { + if (daemon(0, 0) < 0) { err("daemonizing failed: %s", strerror(errno)); return -1; }