Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363341
b: refs/heads/master
c: 5037307
h: refs/heads/master
i:
  363339: 6f79752
v: v3
  • Loading branch information
Stefan Reif authored and Greg Kroah-Hartman committed Mar 11, 2013
1 parent bedc781 commit 1408da9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c46cb54db3a01223bdd457ead25d4a3582c0babe
refs/heads/master: 5037307d51636e7c784ceef8aa23e0c074d429a7
2 changes: 1 addition & 1 deletion trunk/drivers/staging/usbip/userspace/src/usbip_detach.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/usbip/userspace/src/usbip_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/usbip/userspace/src/usbip_network.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

/* ---------------------------------------------------------------------- */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/usbip/userspace/src/usbipd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 1408da9

Please sign in to comment.