[Compile Warning] 2.6.30-rc8 build

From: Michael S. Zick
Date: Fri Jun 05 2009 - 12:50:31 EST


Group;

I can't argue with gcc on this one either:

drivers/scsi/sd.c: In function 'sd_read_capacity':
drivers/scsi/sd.c:1451: warning: comparison is always false due to limited range of data type

It reads to my eyes as if the function can never
select read_capacity_16 for very large devices.

Suggestions?

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/