aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2007-12-15 21:21:29 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 17:34:57 -0500
commit0354c1acd8f74e7bda752108c052972a1d1b6c3f (patch)
tree8f9bd2818fd2a713ac2ee8ea093326158741cb12 /drivers/usb/storage
parent30bf54e62a7926a483b4e36015bb4eb1372e6303 (diff)
USB: usb/storage/initializers.c: fix signedness difference
fix warnings: drivers/usb/storage/initializers.c:83:26: warning: incorrect type in argument 5 (different signedness) drivers/usb/storage/initializers.c:83:26: expected unsigned int *act_len drivers/usb/storage/initializers.c:83:26: got int *<noident> drivers/usb/storage/initializers.c:89:26: warning: incorrect type in argument 5 (different signedness) drivers/usb/storage/initializers.c:89:26: expected unsigned int *act_len drivers/usb/storage/initializers.c:89:26: got int *<noident> Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r--drivers/usb/storage/initializers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/storage/initializers.c b/drivers/usb/storage/initializers.c
index ee5b42aa5363..187dd1e01093 100644
--- a/drivers/usb/storage/initializers.c
+++ b/drivers/usb/storage/initializers.c
@@ -66,7 +66,8 @@ int usb_stor_ucr61s2b_init(struct us_data *us)
66{ 66{
67 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap*) us->iobuf; 67 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap*) us->iobuf;
68 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap*) us->iobuf; 68 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap*) us->iobuf;
69 int res, partial; 69 int res;
70 unsigned int partial;
70 static char init_string[] = "\xec\x0a\x06\x00$PCCHIPS"; 71 static char init_string[] = "\xec\x0a\x06\x00$PCCHIPS";
71 72
72 US_DEBUGP("Sending UCR-61S2B initialization packet...\n"); 73 US_DEBUGP("Sending UCR-61S2B initialization packet...\n");