svn commit: r188326 - in stable/7/sys: . contrib/pf dev/acpi_support dev/cxgb

Rui Paulo rpaulo at FreeBSD.org
Sun Feb 8 12:00:38 PST 2009


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);


More information about the svn-src-all mailing list