On Fri, Jul 15, 2016 at 05:09:02AM +0800, tom.ty89@xxxxxxxxx wrote: > From: Tom Yan <tom.ty89@xxxxxxxxx> > > Since we set ATA_MAX_SECTORS_LBA48 to 65535 to avoid the corner case > in some drives that commands with "count" set to 0000h (which > reprsents 65536) does not work as expected, lba_48_ok(), which is > used for number-of-blocks checking when libata pack commands, should > use the same limit as well. In fact, there is no reason for the two > functions not to use the macros anyway. > > Signed-off-by: Tom Yan <tom.ty89@xxxxxxxxx> Applied to libata/for-4.8. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html