Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/sys/dev/raidframe Pull up revision 1.41 (requested by ost...
details: https://anonhg.NetBSD.org/src/rev/715035ed0faf
branches: netbsd-3
changeset: 576268:715035ed0faf
user: tron <tron%NetBSD.org@localhost>
date: Fri Jun 17 13:36:39 2005 +0000
description:
Pull up revision 1.41 (requested by oster in ticket #472):
- avoid variable shadowing
- add a lot of const
- remove parameters from function declarations
diffstat:
sys/dev/raidframe/rf_diskqueue.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 47677e484782 -r 715035ed0faf sys/dev/raidframe/rf_diskqueue.c
--- a/sys/dev/raidframe/rf_diskqueue.c Fri Jun 17 13:36:32 2005 +0000
+++ b/sys/dev/raidframe/rf_diskqueue.c Fri Jun 17 13:36:39 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_diskqueue.c,v 1.40 2005/02/27 00:27:44 perry Exp $ */
+/* $NetBSD: rf_diskqueue.c,v 1.40.2.1 2005/06/17 13:36:39 tron Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -66,7 +66,7 @@
****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_diskqueue.c,v 1.40 2005/02/27 00:27:44 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_diskqueue.c,v 1.40.2.1 2005/06/17 13:36:39 tron Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -440,7 +440,7 @@
RF_DiskQueueData_t *
rf_CreateDiskQueueData(RF_IoType_t typ, RF_SectorNum_t ssect,
- RF_SectorCount_t nsect, caddr_t buf,
+ RF_SectorCount_t nsect, caddr_t bf,
RF_StripeNum_t parityStripeID,
RF_ReconUnitNum_t which_ru,
int (*wakeF) (void *, int), void *arg,
@@ -470,7 +470,7 @@
p->sectorOffset = ssect + rf_protectedSectors;
p->numSector = nsect;
p->type = typ;
- p->buf = buf;
+ p->buf = bf;
p->parityStripeID = parityStripeID;
p->which_ru = which_ru;
p->CompleteFunc = wakeF;
Home |
Main Index |
Thread Index |
Old Index