Re: [PATCH] net: emaclite: Use resource_size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

regards,
dan carpenter
--
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

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux