mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
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>
This commit is contained in:
parent
30bf54e62a
commit
0354c1acd8
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue