diff options
author | Davidlohr Bueso <[email protected]> | 2023-02-08 10:19:44 -0800 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-02-09 08:46:10 -0800 |
commit | d874297bc7c8bb69f9fcbe6422ac5623c5897977 (patch) | |
tree | c1600bbbe63f063eb8aaf5eb76bd01be9d3ca8b9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 623c0751336e4035ab0047f2c152a02bd26b612b (diff) |
cxl/mem: Correct full ID range allocation
For ID allocations we want 0-(max-1), ie: smatch complains:
error: Calling ida_alloc_range() with a 'max' argument which is a power of 2. -1 missing?
Correct this and also replace the call to use the max() flavor instead.
Signed-off-by: Davidlohr Bueso <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions