diff options
author | 2013-11-21 16:34:50 +0000 | |
---|---|---|
committer | 2013-11-21 16:34:50 +0000 | |
commit | 3fb9c90bcd9396b9dc88ee71893afafd65667c87 (patch) | |
tree | 2fc96fab7a2bcc9c8c2615cb3a3c2742ee35bdf6 /sys/dev/softraid_raid0.c | |
parent | hide a bunch of structures (namely arpcom, llinfo_arp, ethernet (diff) | |
download | wireguard-openbsd-3fb9c90bcd9396b9dc88ee71893afafd65667c87.tar.xz wireguard-openbsd-3fb9c90bcd9396b9dc88ee71893afafd65667c87.zip |
Change a bunch of daddr_t variables that don't (obviously) contain
512-byte-block information to int64_t, the underlying type of
daddr_t at the moment. No change to .o files. Removal of now
unneeded (long long) casts is next.
Diffstat (limited to 'sys/dev/softraid_raid0.c')
-rw-r--r-- | sys/dev/softraid_raid0.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/softraid_raid0.c b/sys/dev/softraid_raid0.c index 570a213271f..59267b6e55b 100644 --- a/sys/dev/softraid_raid0.c +++ b/sys/dev/softraid_raid0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_raid0.c,v 1.43 2013/11/05 08:55:58 reyk Exp $ */ +/* $OpenBSD: softraid_raid0.c,v 1.44 2013/11/21 16:34:50 krw Exp $ */ /* * Copyright (c) 2008 Marco Peereboom <marco@peereboom.us> * @@ -121,9 +121,11 @@ sr_raid0_rw(struct sr_workunit *wu) struct scsi_xfer *xs = wu->swu_xs; struct sr_ccb *ccb; struct sr_chunk *scp; - daddr_t blk, lbaoffs, strip_no, chunk, stripoffs; - daddr_t strip_size, no_chunk, chunkoffs, physoffs; - daddr_t strip_bits, length, leftover; + daddr_t blk; + int64_t chunkoffs, lbaoffs, physoffs, stripoffs; + int64_t strip_bits, strip_no, strip_size; + int64_t chunk, no_chunk; + int64_t length, leftover; u_int8_t *data; /* blk and scsi error will be handled by sr_validate_io */ |