commit | 7cc55b582ed88b0525d6243e2a907ffaa7c0e156 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@codeconstruct.com.au> | Wed Jun 19 20:45:13 2024 +0930 |
committer | Andrew Jeffery <andrew@codeconstruct.com.au> | Wed Jun 19 20:45:13 2024 +0930 |
tree | aa5c6ba7bdc6ac6c7210b281400a468a53982ef6 | |
parent | 1763a84ecf6054b56979cdf621155a50d6bd8177 [diff] [blame] |
extension: openpower-pels: Replace deprecated libpldm header path There are more OEMs than IBM contributing to libpldm, so the OEM headers were restructured. Replace the deprecated IBM OEM header path with the namespaced path. The patch was generated by with the coccinelle[1] script from [2]: ``` $ spatch \ --sp-file .../libpldm/origin/evolutions/current/oem-ibm-header-compat.cocci \ --in-place \ $(git ls-files | grep -E '\.[ch](pp)?') ``` [1]: https://coccinelle.gitlabpages.inria.fr/website/ [2]: https://gerrit.openbmc.org/c/openbmc/libpldm/+/72202 Change-Id: Ieeb17d3e302b56e577f8a5306fd30e749273d3ff Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/extensions/openpower-pels/pldm_interface.cpp b/extensions/openpower-pels/pldm_interface.cpp index 3326d82..a784e55 100644 --- a/extensions/openpower-pels/pldm_interface.cpp +++ b/extensions/openpower-pels/pldm_interface.cpp
@@ -16,7 +16,7 @@ #include "pldm_interface.hpp" #include <libpldm/base.h> -#include <libpldm/file_io.h> +#include <libpldm/oem/ibm/file_io.h> #include <systemd/sd-bus.h> #include <unistd.h>