Skip to contentSkip to conversation

ACPI / adxl: Add address translation interface using ACPI DSM

PATCH New Borislav Petkov 1 participant 1 message Oct 31, 2018 EDAC-core

v3 of 4 New Latest is v4 →

lore
Share & tools
lore

Borislav Petkov

author maintainer
#0 lore raw

PATCH v3 1/3 ACPI / adxl: Add address translation interface using ACPI DSM

Quoted 9 lines · Tony

It's not exactly ideal to build the skx_edac.c driver with these stubs. Sure, it make the kernel link without errors. But now you silently end up with a driver that doesn't really do all you want it to do.

Perhaps this isn't a huge issue. Only "randconfig" would try to build a kernel without ACPI. The user will find other stuff is broken in an ACPI=n kernel long before they notice the lack of EDAC error reporting.

Exactly!

Quoted 3 lines

So:

Thx. I'll add it to the lineup for Linus.

Quoted 5 lines

Oops. Return from this isn't "bool". Caller expects 0 = success.

Quoted 1 line

+static inline int adxl_decode(u64 addr, u64 component_values[]) { return false; }

This should return -EOPNOTSUPP;

Done.

Thx.