1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/dev/ata
Bruce Evans d4621eac57 Fixed a printf format error again. Rev.127 was clobbered in rev.1.128
by removing parentheses.  The main bug is in gcc: on machines with
64-bit longs and 64-bit long longs,

    (unsigned long long)rdp->total_sectors / ((1024L * 1024L) / DEV_BSIZE))

has type plain unsigned long instead of the correctly promoted type
unsigned long long, so it can not be printfed using %llu format.  Even
1ULL / 1L is mispromoted.  Anyway, casting the correct operand
automatically avoids the problem.  We do not want to to pessimize the
division; we just want to convert to a common maximal type for printing.
2002-03-06 06:33:33 +00:00
..
ata-all.c Misc little cleanups: 2002-03-05 09:24:19 +00:00
ata-all.h Major update of the ATA RAID code, part 1: 2002-02-04 19:23:40 +00:00
ata-card.c Major update of the ATA RAID code, part 1: 2002-02-04 19:23:40 +00:00
ata-disk.c Misc little cleanups: 2002-03-05 09:24:19 +00:00
ata-disk.h Major update of the ATA RAID code, part 3: 2002-03-03 15:36:21 +00:00
ata-dma.c Misc little cleanups: 2002-03-05 09:24:19 +00:00
ata-isa.c Major update of the ATA RAID code, part 1: 2002-02-04 19:23:40 +00:00
ata-pci.c Major update of the ATA RAID code, part 3: 2002-03-03 15:36:21 +00:00
ata-raid.c Fixed a printf format error again. Rev.127 was clobbered in rev.1.128 2002-03-06 06:33:33 +00:00
ata-raid.h Major update of the ATA RAID code, part 3: 2002-03-03 15:36:21 +00:00
atapi-all.c Added undocumented options AAC_DEBUG, ACD_DEBUG, ACPI_MAX_THREADS, 2002-02-15 07:08:44 +00:00
atapi-all.h Fix buglets in the ATAPI resume code. 2002-02-12 13:21:51 +00:00
atapi-cd.c Added undocumented options AAC_DEBUG, ACD_DEBUG, ACPI_MAX_THREADS, 2002-02-15 07:08:44 +00:00
atapi-cd.h Major update of the ATA RAID code, part 1: 2002-02-04 19:23:40 +00:00
atapi-fd.c Major update of the ATA RAID code, part 1: 2002-02-04 19:23:40 +00:00
atapi-fd.h Major update of the ATA RAID code, part 1: 2002-02-04 19:23:40 +00:00
atapi-tape.c Added undocumented options AAC_DEBUG, ACD_DEBUG, ACPI_MAX_THREADS, 2002-02-15 07:08:44 +00:00
atapi-tape.h Major update of the ATA RAID code, part 1: 2002-02-04 19:23:40 +00:00