The patch titled cciss: fix for 2TB support (again) has been added to the -mm tree. Its filename is cciss-fix-for-2tb-support-again.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: cciss: fix for 2TB support (again) From: "Mike Miller (OS Dev)" <mikem@xxxxxxxxxxxxxxxxxxxxxxx> This patch changes the constant 0xFFFFFFFF to 0xFFFFFFFFULL to prevent sign extension. Signed-off-by: Mike Miller <mike.miller@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/cciss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/block/cciss.c~cciss-fix-for-2tb-support-again drivers/block/cciss.c --- a/drivers/block/cciss.c~cciss-fix-for-2tb-support-again +++ a/drivers/block/cciss.c @@ -1303,7 +1303,7 @@ static void cciss_update_drive_info(int /* if read_capacity returns all F's this volume is >2TB in size */ /* so we switch to 16-byte CDB's for all read/write ops */ - if (total_size == 0xFFFFFFFF) { + if (total_size == 0xFFFFFFFFULL) { cciss_read_capacity_16(ctlr, drv_index, 1, &total_size, &block_size); h->cciss_read = CCISS_READ_16; @@ -3123,7 +3123,7 @@ static void cciss_getgeometry(int cntl_n /* If read_capacity returns all F's the logical is >2TB */ /* so we switch to 16-byte CDBs for all read/write ops */ - if(total_size == 0xFFFFFFFF) { + if(total_size == 0xFFFFFFFFULL) { cciss_read_capacity_16(cntl_num, i, 0, &total_size, &block_size); hba[cntl_num]->cciss_read = CCISS_READ_16; _ Patches currently in -mm which might be from mikem@xxxxxxxxxxxxxxxxxxxxxxx are cciss-fix-for-2tb-support.patch cciss-fix-for-2tb-support-again.patch cciss-supercedes-add-shutdown-support-replaces-reboot-notifier.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html