diff options
author | Ilpo Järvinen <[email protected]> | 2024-04-12 16:09:03 +0300 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2024-04-29 10:52:02 +0200 |
commit | 67e9b62085977f4fbcefac3a9713de6d52981ee8 (patch) | |
tree | a9e370c4c7df9c44ea145594af1fd1a82b28c83c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f24644581ba92c901bbc2b69a1a6f6d178ee59d4 (diff) |
platform/x86: think-lmi: Convert container_of() macros to static inline
The macros to_tlmi_pwd_setting() and to_tlmi_attr_setting() are fragile
because they expect the variable name to be 'kobj', otherwise the build
will fail because container_of()'s 3rd parameter (member) is taken from
the parameter given to the macro.
While at it, move them into a more logical place.
Signed-off-by: Ilpo Järvinen <[email protected]>
Reviewed-by Mark Pearson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions