From 1c5da289adb4332618d28050fbf5a322fb3155b3 Mon Sep 17 00:00:00 2001 From: David Chang Date: Thu, 12 May 2011 18:31:11 +0800 Subject: [PATCH] --- yaml --- r: 249609 b: refs/heads/master c: cacd18a8476ce145ca5dcd46dc5b75585fd1289c h: refs/heads/master i: 249607: c1eebf4c8faea9a0781646eb33d7292968edadc4 v: v3 --- [refs] | 2 +- trunk/drivers/staging/usbip/usbip_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ae69753e95e3..7f7b18c4f1e8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 64a47c5072a6d702349dba30ea8b0e69be4d9778 +refs/heads/master: cacd18a8476ce145ca5dcd46dc5b75585fd1289c diff --git a/trunk/drivers/staging/usbip/usbip_common.c b/trunk/drivers/staging/usbip/usbip_common.c index 0f2cd977ca2a..68f51068abf1 100644 --- a/trunk/drivers/staging/usbip/usbip_common.c +++ b/trunk/drivers/staging/usbip/usbip_common.c @@ -589,7 +589,7 @@ static void correct_endian_ret_submit(struct usbip_header_ret_submit *pdu, be32_to_cpus(&pdu->status); be32_to_cpus(&pdu->actual_length); be32_to_cpus(&pdu->start_frame); - cpu_to_be32s(&pdu->number_of_packets); + be32_to_cpus(&pdu->number_of_packets); be32_to_cpus(&pdu->error_count); } }