48a6c018bc
IASL version 20180927 and greater, detects Unnecessary/redundant uses of the Offset() operator within a Field Unit list. It then sends a remark "^ Unnecessary/redundant use of Offset" example: OperationRegion (OPR1, SystemMemory, 0x100, 0x100) Field (OPR1) { Offset (0), // Never needed FLD1, 32, Offset (4), // Redundant, offset is already 4 (bytes) FLD2, 8, Offset (64), // OK use of Offset. FLD3, 16, } We will have those remarks: dsdt.asl 14: Offset (0), Remark 2158 - ^ Unnecessary/redundant use of Offset operator dsdt.asl 16: Offset (4), Remark 2158 - ^ Unnecessary/redundant use of Offset operator Change-Id: I260a79ef77025b4befbccc21f5999f89d90c1154 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43283 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
---|---|---|
.. | ||
acpi | ||
bootblock | ||
include/soc | ||
romstage | ||
acpi.c | ||
chip.c | ||
chip.h | ||
cpu.c | ||
dptf.c | ||
ehci.c | ||
elog.c | ||
emmc.c | ||
fadt.c | ||
gfx.c | ||
gpio.c | ||
hda.c | ||
iosf.c | ||
Kconfig | ||
lpe.c | ||
lpss.c | ||
Makefile.inc | ||
memmap.c | ||
modphy_table.c | ||
northcluster.c | ||
pcie.c | ||
perf_power.c | ||
placeholders.c | ||
pmutil.c | ||
ramstage.c | ||
refcode.c | ||
refcode_native.c | ||
sata.c | ||
scc.c | ||
sd.c | ||
smihandler.c | ||
smm.c | ||
southcluster.c | ||
tsc_freq.c | ||
xhci.c |