On 2010-05-06 at 12:07:05 +0200, Dan Carpenter <error27@xxxxxxxxx> wrote: > Since you're doing this, here are some smatch warnings with potential > off-by-one bugs: > > drivers/net/3c507.c +454 el16_probe1(88) warn: consider using resource_size() here > drivers/scsi/aic7xxx_old.c +8430 aic7xxx_alloc(30) warn: consider using resource_size() here > drivers/scsi/aic7xxx_old.c +9685 aic7xxx_detect(706) warn: consider using resource_size() here > drivers/scsi/aic7xxx_old.c +9698 aic7xxx_detect(719) warn: consider using resource_size() here > drivers/scsi/aic7xxx_old.c +9706 aic7xxx_detect(727) warn: consider using resource_size() here > drivers/scsi/aic7xxx_old.c +9751 aic7xxx_detect(772) warn: consider using resource_size() here > drivers/scsi/aic7xxx_old.c +10950 aic7xxx_release(14) warn: consider using resource_size() here Thanks a lot. I'll take a look at those too, Cheers, Tobias -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html