Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe make nspares unsigned; it is assigned from...
details: https://anonhg.NetBSD.org/src/rev/c14267cebef2
branches: trunk
changeset: 454710:c14267cebef2
user: christos <christos%NetBSD.org@localhost>
date: Thu Sep 26 01:36:10 2019 +0000
description:
make nspares unsigned; it is assigned from numSpares which is unsigned.
diffstat:
sys/dev/raidframe/raidframevar.h | 4 ++--
sys/dev/raidframe/rf_compat50.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r a9ccd4a3ba22 -r c14267cebef2 sys/dev/raidframe/raidframevar.h
--- a/sys/dev/raidframe/raidframevar.h Thu Sep 26 01:35:08 2019 +0000
+++ b/sys/dev/raidframe/raidframevar.h Thu Sep 26 01:36:10 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: raidframevar.h,v 1.19 2018/04/19 21:50:09 christos Exp $ */
+/* $NetBSD: raidframevar.h,v 1.20 2019/09/26 01:36:10 christos Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -519,7 +519,7 @@
u_int maxqdepth;
int ndevs;
RF_RaidDisk_t devs[RF_MAX_DISKS];
- int nspares;
+ u_int nspares;
RF_RaidDisk_t spares[RF_MAX_DISKS];
} RF_DeviceConfig_t;
diff -r a9ccd4a3ba22 -r c14267cebef2 sys/dev/raidframe/rf_compat50.c
--- a/sys/dev/raidframe/rf_compat50.c Thu Sep 26 01:35:08 2019 +0000
+++ b/sys/dev/raidframe/rf_compat50.c Thu Sep 26 01:36:10 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_compat50.c,v 1.10 2019/03/01 11:06:56 pgoyette Exp $ */
+/* $NetBSD: rf_compat50.c,v 1.11 2019/09/26 01:36:10 christos Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
u_int maxqdepth;
int ndevs;
RF_RaidDisk50_t devs[RF_MAX_DISKS];
- int nspares;
+ u_int nspares;
RF_RaidDisk50_t spares[RF_MAX_DISKS];
} RF_DeviceConfig50_t;
Home |
Main Index |
Thread Index |
Old Index