From: Antonio Ospite Date: Tue, 3 Feb 2015 11:21:03 +0000 (+0100) Subject: Fix some warnings about missing return values X-Git-Url: https://git.ao2.it/Teclast-X98-Air-3G_C6J6_custom_DSDT.git/commitdiff_plain/2e1e31d3c33e2a8b990bf2ec3de94cbbf7af2998?ds=inline Fix some warnings about missing return values dsdt.dsl 4065: Method (_PS0, 0, Serialized) Warning 3115 - ^ Not all control paths return a value (_PS0) dsdt.dsl 4280: Method (_PS3, 0, Serialized) Warning 3115 - ^ Not all control paths return a value (_PS3) dsdt.dsl 12210: Method (_PS3, 0, NotSerialized) Warning 3115 - ^ Not all control paths return a value (_PS3) --- diff --git a/dsdt.dsl b/dsdt.dsl index 4749b81..3fcf1b8 100644 --- a/dsdt.dsl +++ b/dsdt.dsl @@ -4275,6 +4275,8 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003) PDBM &= 0xFFFFFFFFFFFFFFFD MEMB = Local2 PDBM = Local1 + + Return (Zero) } Method (_PS3, 0, Serialized) // _PS3: Power State 3 @@ -4348,6 +4350,8 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003) PDBM &= 0xFFFFFFFFFFFFFFFD MEMB = Local2 PDBM = Local1 + + Return (Zero) } Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake @@ -12216,6 +12220,8 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003) PSAT |= 0x03 Local0 = PSAT /* \_SB_.I2C5.PSAT */ + + Return (Zero) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0