diff options
author | Dan Williams <dan.j.williams@intel.com> | 2023-06-14 18:29:41 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-06-25 14:31:08 -0700 |
commit | 688baac1097d30a51d6469efdc8707fdac80eab6 (patch) | |
tree | 5dac3393840e97ad38f0312e4639f65e80a81e95 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9561de3a55bed6bdd44a12820ba81ec416e705a7 (diff) |
cxl/regs: Clarify when a 'struct cxl_register_map' is input vs output
The @map parameter to cxl_probe_X_registers() is filled in with the
mapping parameters of the register block. The @map parameter to
cxl_map_X_registers() only reads that information to perform the
mapping. Mark @map const for cxl_map_X_registers() to clarify that it is
only an input to those helpers.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/168679258103.3436160.4941603739448763855.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions