>>>>> "Tom" == Tom Yan <tom.ty89@xxxxxxxxx> writes: Tom, >> It would be pretty unusual for a device that is smart enough to >> report a transfer length limit to be constrained to 1 MB and change. Tom> Well, it is done pretty much for libata's SATL. But why? >> rw_max = min(BLK_DEF_MAX_SECTORS, q->limits.max_dev_sectors); Tom> That won't really work. min_t() would, though the line is gonna be Tom> a bit long; not sure if I can/should simply cast the type (unsigned Tom> int) to BLK_DEF_MAX_SECTORS. And which braces are you referring to? I'd rather have a split line than double lines with braces. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html