Received: by mail.netbsd.org (Postfix, from userid 605) id A39DA14A7D7; Fri, 29 Jul 2011 19:55:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9BECA14A7D8 for ; Fri, 29 Jul 2011 19:55:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id G1SZkfpCeP+u for ; Fri, 29 Jul 2011 19:55:51 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 8C3E714A7D5 for ; Fri, 29 Jul 2011 19:55:51 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 3F6C3175DD; Fri, 29 Jul 2011 19:55:51 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Fri, 29 Jul 2011 19:55:51 +0000 From: "Greg Oster" Subject: CVS commit: src/sys/dev/raidframe To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110729195551.3F6C3175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Greg Oster" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: oster Date: Fri Jul 29 19:55:51 UTC 2011 Modified Files: src/sys/dev/raidframe: rf_disks.c rf_kintf.h rf_netbsdkintf.c Log Message: In rf_disks.c make sure ser_values and ser_count arrays are initialized before use. Validate the component label before considering a component for use, and make sure we only consider components that are optimal. Fixes PR#44251. All atf RAIDframe tests now pass. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/dev/raidframe/rf_disks.c cvs rdiff -u -r1.21 -r1.22 src/sys/dev/raidframe/rf_kintf.h cvs rdiff -u -r1.291 -r1.292 src/sys/dev/raidframe/rf_netbsdkintf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.