Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0354c1acd8f74e7bda752108c052972a1d1b6c3f
Commit:     0354c1acd8f74e7bda752108c052972a1d1b6c3f
Parent:     30bf54e62a7926a483b4e36015bb4eb1372e6303
Author:     Marcin Slusarz <[EMAIL PROTECTED]>
AuthorDate: Sun Dec 16 03:21:29 2007 +0100
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 14:34:57 2008 -0800

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/storage/initializers.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/storage/initializers.c 
b/drivers/usb/storage/initializers.c
index ee5b42a..187dd1e 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)
 {
        struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap*) us->iobuf;
        struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap*) us->iobuf;
-       int res, partial;
+       int res;
+       unsigned int partial;
        static char init_string[] = "\xec\x0a\x06\x00$PCCHIPS";
 
        US_DEBUGP("Sending UCR-61S2B initialization packet...\n");
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to