Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2009 20:00:36 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r188326 - in stable/7/sys: . contrib/pf dev/acpi_support dev/cxgb
Message-ID:  <200902082000.n18K0aBr032797@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Sun Feb  8 20:00:36 2009
New Revision: 188326
URL: http://svn.freebsd.org/changeset/base/188326

Log:
  MFC r186529 (stas):
  	- Fix incorrect array declaration that was causing the stack overflow
  	on some (most?) Asus laptops.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/acpi_support/acpi_asus.c
  stable/7/sys/dev/cxgb/   (props changed)

Modified: stable/7/sys/dev/acpi_support/acpi_asus.c
==============================================================================
--- stable/7/sys/dev/acpi_support/acpi_asus.c	Sun Feb  8 20:00:33 2009	(r188325)
+++ stable/7/sys/dev/acpi_support/acpi_asus.c	Sun Feb  8 20:00:36 2009	(r188326)
@@ -958,7 +958,9 @@ acpi_asus_sysctl_get(struct acpi_asus_so
 static int
 acpi_asus_sysctl_set(struct acpi_asus_softc *sc, int method, int arg)
 {
-	ACPI_STATUS	status = AE_OK;
+	ACPI_STATUS		status = AE_OK;
+	ACPI_OBJECT_LIST 	acpiargs;
+	ACPI_OBJECT		acpiarg[1];
 
 	ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
 	ACPI_SERIAL_ASSERT(asus);



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