Hi,
- drive->sectors = (u64)be32_to_cpu(capdata.sectors) + 1;
- dprintf(1, "%s blksize=%d sectors=%u\n"
, s, drive->blksize, (unsigned)drive->sectors);
- dprintf(1, "%s blksize=%d sectors=%llX\n", s, drive->blksize, drive->sectors);
Any specific reason why you change sectors from %u to %x?
I'd prefer to continue using %u.
When printing hex numbers they should be printed with '0x' prefix to make that clear.
take care, Gerd