Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/dev/raidframe Pull up following revision(s) (requeste...
details: https://anonhg.NetBSD.org/src/rev/03d9a931ac1d
branches: netbsd-6
changeset: 775589:03d9a931ac1d
user: riz <riz%NetBSD.org@localhost>
date: Mon Dec 17 00:25:27 2012 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #753):
sys/dev/raidframe/rf_driver.c: revision 1.131
Fix off by one read.
diffstat:
sys/dev/raidframe/rf_driver.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r be3205733f52 -r 03d9a931ac1d sys/dev/raidframe/rf_driver.c
--- a/sys/dev/raidframe/rf_driver.c Mon Dec 17 00:23:01 2012 +0000
+++ b/sys/dev/raidframe/rf_driver.c Mon Dec 17 00:25:27 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_driver.c,v 1.129 2011/05/27 22:48:24 yamt Exp $ */
+/* $NetBSD: rf_driver.c,v 1.129.10.1 2012/12/17 00:25:27 riz Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -66,7 +66,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.129 2011/05/27 22:48:24 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.129.10.1 2012/12/17 00:25:27 riz Exp $");
#ifdef _KERNEL_OPT
#include "opt_raid_diagnostic.h"
@@ -881,7 +881,7 @@
int i;
rf_ResetDebugOptions();
- for (i = 0; cfgPtr->debugVars[i][0] && i < RF_MAXDBGV; i++) {
+ for (i = 0; i < RF_MAXDBGV && cfgPtr->debugVars[i][0]; i++) {
name_p = rf_find_non_white(&cfgPtr->debugVars[i][0]);
white_p = rf_find_white(name_p); /* skip to start of 2nd
* word */
Home |
Main Index |
Thread Index |
Old Index