NetBSD Problem Report #19619
Received: (qmail 28553 invoked by uid 605); 31 Dec 2002 23:53:19 -0000
Message-Id: <20021231235311.06C3711124@narn.netbsd.org>
Date: Tue, 31 Dec 2002 15:53:11 -0800 (PST)
From: monroe@pobox.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: monroe@pobox.com
To: gnats-bugs@gnats.netbsd.org
Subject: Typo in src/sys/dev/raidframe/rf_utils.c breaks raidframe kernel build
X-Send-Pr-Version: www-1.0
>Number: 19619
>Category: misc
>Synopsis: Typo in src/sys/dev/raidframe/rf_utils.c breaks raidframe kernel build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: junyoung
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 31 23:54:00 +0000 2002
>Closed-Date: Fri Jan 03 12:13:17 +0000 2003
>Last-Modified: Fri Jan 03 12:13:17 +0000 2003
>Originator: Monroe Williams
>Release: current
>Organization:
>Environment:
N/A
>Description:
There's a typo in src/sys/dev/raidframe/rf_utils.c that prevents a kernel from building with the RF_INCLUDE_PARITY_DECLUSTERING option. The problem is an extraneous "0)" in the source on line 96:
-----
void
rf_free_1d_array(a, n)
RF_RowCol_t *a;
int n;
{
RF_Free(a, n * sizeof(RF_RowCol_t));
}
0)
/* Euclid's algorithm: finds and returns the greatest common divisor
* between a and b. (MCH)
*/
-----
It looks like this crept in between revisions 1.9 and 1.10, and was also pulled into 1.5.6.5 and 1.5.8.4.
>How-To-Repeat:
N/A
>Fix:
Remove the offending line.
>Release-Note:
>Audit-Trail:
From: Bang Jun-Young <junyoung@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/19619 CVS commit: src/sys/dev/raidframe
Date: Fri, 3 Jan 2003 10:05:24 +0200 (EET)
Module Name: src
Committed By: junyoung
Date: Fri Jan 3 08:05:23 UTC 2003
Modified Files:
src/sys/dev/raidframe: rf_utils.c
Log Message:
Fix typo. PR#19619.
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/dev/raidframe/rf_utils.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: junyoung
State-Changed-When: Fri Jan 3 00:06:33 PST 2003
State-Changed-Why:
I fixed it. Feedback welcome.
Responsible-Changed-From-To: misc-bug-people->junyoung
Responsible-Changed-By: junyoung
Responsible-Changed-When: Fri Jan 3 00:06:33 PST 2003
Responsible-Changed-Why:
I will have a look at it.
State-Changed-From-To: feedback->closed
State-Changed-By: junyoung
State-Changed-When: Fri Jan 3 04:12:55 PST 2003
State-Changed-Why:
Done.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.