salve
ich beseitige gerade warnings in meinem DSDT file...das ist das letzte warning 😃
leider verstehe ich nicht was der compiler geändert haben möchte... für mich ist die methode nämlich logisch 🙁
[tom@frija ~]$ iasl -tc -vr dsdt.dsl
Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20150717-64
Copyright (c) 2000 - 2015 Intel Corporation
dsdt.dsl 11433: Method (HSWC, 1, Serialized)
Warning 3115 - ^ Not all control paths return a value (HSWC)
Compilation complete. 0 Errors, 1 Warnings, 108 Remarks, 61 Optimizations
14433 Method (HSWC, 1, Serialized)
die dazugehörige methode:
Method (HSWC, 1, Serialized)
{
If ((Arg0 < 0x02))
{
OWGD (Arg0)
Return (One)
}
If ((Arg0 == 0x02))
{
Return (OWGS ())
}
If ((Arg0 == 0x03))
{
Return (0xFF)
}
If ((Arg0 == 0x80))
{
Return (One)
}
}
die im zweiten if block aufgerufene methode:
Method (OWGS, 0, Serialized)
{
Local0 = RGPL (0x0F, One)
Return (Local0)
}