diff options
author | Alison Schofield <alison.schofield@intel.com> | 2025-05-21 16:36:23 -0700 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2025-05-22 07:39:01 -0700 |
commit | bfc6270ab3ff9478a4cad4d49482854d632dbce3 (patch) | |
tree | 84fd0ba8021b2ae25407ef17a86f9754c5d0212d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b4432656b36e5cc1d50a1f2dc15357543add530e (diff) |
cxl/features: Remove the inline specifier from to_cxlfs()
to_cxlfs() was declared 'inline' in the header but only defined in
drivers/cxl/core/features.c. This has worked because features.c was
the only file using the function and the definition happened to be
available in the same compilation unit.
However, in preparation for a second .c file using the header and
needing to call the function, the inline specifier became an issue.
Sparse flagged the declaration as invalid since 'inline' requires a
visible definition at the point of use.
Defining the function in the header was considered but rejected, as
it depends on internal symbols not visible at that level.
Remove the inline specifier to correct the linkage violation.
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Shiju Jose <shiju.jose@huawei.com>
Link: https://patch.msgid.link/20250521233625.1745849-1-alison.schofield@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions