On Tuesday 13 January 2009, Ben Dooks wrote: > The host_busy field in struct ide_host defaults to a > signed-long, where most arch's test_and_set_bit_* > macros use an unsigned long. > > Change to using an unsigned long, which on ARM removes > the following sparse errors: > > drivers/ide/ide-io.c:681:8: warning: incorrect type in argument 2 (different signedness) > drivers/ide/ide-io.c:681:8: expected unsigned long volatile *p > drivers/ide/ide-io.c:681:8: got long volatile *<noident> > drivers/ide/ide-io.c:681:8: warning: incorrect type in argument 2 (different signedness) > drivers/ide/ide-io.c:681:8: expected unsigned long volatile *p > drivers/ide/ide-io.c:681:8: got long volatile *<noident> > drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness) > drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p > drivers/ide/ide-io.c:695:3: got long volatile *<noident> > drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness) > drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p > drivers/ide/ide-io.c:695:3: got long volatile *<noident> > drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness) > drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p > drivers/ide/ide-io.c:695:3: got long volatile *<noident> > drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness) > drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p > drivers/ide/ide-io.c:695:3: got long volatile *<noident> > drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness) > drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p > drivers/ide/ide-io.c:695:3: got long volatile *<noident> > drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness) > drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p > drivers/ide/ide-io.c:695:3: got long volatile *<noident> > drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness) > drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p > drivers/ide/ide-io.c:695:3: got long volatile *<noident> > drivers/ide/ide-io.c:695:3: warning: incorrect type in argument 2 (different signedness) > drivers/ide/ide-io.c:695:3: expected unsigned long volatile *p > drivers/ide/ide-io.c:695:3: got long volatile *<noident> > > Signed-off-by: Ben Dooks <ben-linux@xxxxxxxxx> thanks, applied -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html