Skip to content

Commit 86d624a

Browse files
hramrachAlisonSchofield
authored andcommitted
cxl/json: remove prefix from tracefs.h #include
Distros vary on whether tracefs.h is placed in {prefix}/libtracefs/ or {prefix}/tracefs/. Since the library ships with pkgconfig info to determine the exact include path the #include statement can drop the tracefs/ prefix. This was previously found and fixed elsewhere: a598663 ("cxl/monitor: fix include paths for tracefs and traceevent") but was introduced anew with cxl media-error support in ndctl v80. Reposted here from github pull request: #268 [ alison: commit msg and log edits ] Fixes: 9873123 ("cxl/list: collect and parse media_error records") Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Marc Herbert <marc.herbert@intel.com> Link: https://lore.kernel.org/r/20250209180348.1773179-1-alison.schofield@intel.com Signed-off-by: Alison Schofield <alison.schofield@intel.com>
1 parent a3d56f0 commit 86d624a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cxl/json.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <json-c/json.h>
1010
#include <json-c/printbuf.h>
1111
#include <ccan/short_types/short_types.h>
12-
#include <tracefs/tracefs.h>
12+
#include <tracefs.h>
1313

1414
#include "filter.h"
1515
#include "json.h"

0 commit comments

Comments
 (0)