On Mon, 2008-10-20 at 17:58 -0400, Chuck Lever wrote: > [ Cc'ing myself because I'm not subscribed to linux-scsi ] > > Hi James- > > I found two problems in 2.6.27: > > 1. If CONFIG_LBD is not set on 32-bit platforms, the computation > added in sd_read_capacity() by commit 7404ad3b computes sz > incorrectly. On my system (a Fedora 9 VMware guest with an 8GB disk), > sz is computed as zero. > > 2. The new string helper string_get_size() added by commit 3c9f3681 > goes into an infinite loop if it is passed a "size" of zero. the "for > (j=0;" loop never terminates because 0*10 is always less than 1000. Actually, both reported with patches: http://marc.info/?l=linux-scsi&m=122400928411030 http://marc.info/?l=linux-scsi&m=122400928511033 James -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html