On Gwe, 2006-05-26 at 11:57 -0600, Matthew Wilcox wrote: > On Fri, May 26, 2006 at 05:29:25PM +0100, Alan Cox wrote: > > > > - if (ret == -1) { > > + if (ret == -1 && capacity < (1ULL << 32)) { > > /* pick some standard mapping with at most 1024 cylinders, > > won't that provoke a gcc warning when sector_t is 32-bit? how about ... I don't believe it will as the type is forced to "1ULL" - : 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