commit | 2936ae4a67363ca479411ad291f69bb0c1349ada | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@codeconstruct.com.au> | Wed Jun 19 21:04:52 2024 +0930 |
committer | Andrew Jeffery <andrew@codeconstruct.com.au> | Wed Jun 19 23:58:27 2024 +0000 |
tree | fd3b1eb8dc9f4278042c2eb67a6f2268d1087bf4 | |
parent | 93f064102cc060d913e7492f32d60757b6f100a4 [diff] |
host-transport-extensions: 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: I60f2fb09f1f680e21522f2d3f9d9fa8ecc115bfe Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/host-transport-extensions/pldm/oem/ibm/pldm_oem_cmds.cpp b/host-transport-extensions/pldm/oem/ibm/pldm_oem_cmds.cpp index dbb6749..3670c2d 100644 --- a/host-transport-extensions/pldm/oem/ibm/pldm_oem_cmds.cpp +++ b/host-transport-extensions/pldm/oem/ibm/pldm_oem_cmds.cpp
@@ -20,7 +20,7 @@ #include "xyz/openbmc_project/Common/error.hpp" #include <libpldm/base.h> -#include <libpldm/file_io.h> +#include <libpldm/oem/ibm/file_io.h> #include <libpldm/platform.h> #include <unistd.h>