Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2012 01:50:13 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r231988 - projects/head_mfi/sys/dev/mfi
Message-ID:  <201202220150.q1M1oDvn029229@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Wed Feb 22 01:50:13 2012
New Revision: 231988
URL: http://svn.freebsd.org/changeset/base/231988

Log:
  Restore structure layout by reverting the array header to use [0] instead
  of [1].

Modified:
  projects/head_mfi/sys/dev/mfi/mfireg.h

Modified: projects/head_mfi/sys/dev/mfi/mfireg.h
==============================================================================
--- projects/head_mfi/sys/dev/mfi/mfireg.h	Wed Feb 22 01:30:25 2012	(r231987)
+++ projects/head_mfi/sys/dev/mfi/mfireg.h	Wed Feb 22 01:50:13 2012	(r231988)
@@ -1294,9 +1294,9 @@ struct mfi_config_data {
 	uint16_t		spares_count;
 	uint16_t		spares_size;
 	uint8_t			reserved[16];
-	struct mfi_array	array[1];
-	struct mfi_ld_config	ld[1];
-	struct mfi_spare	spare[1];
+	struct mfi_array	array[0];
+	struct mfi_ld_config	ld[0];
+	struct mfi_spare	spare[0];
 } __packed;
 
 struct mfi_bbu_capacity_info {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202220150.q1M1oDvn029229>