diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-02-12 19:01:36 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-02-15 13:31:12 +0200 |
commit | 50d6b9d56e69563d3b261ee25bc644c59c5bff58 (patch) | |
tree | 9bf0f919315adb02c61dca792cebc7c6582a6b03 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2327960f0c5ecd7a285e69284b6ec3fdbd2757be (diff) |
auxdisplay: linedisp: Use unique number for id
The absence of decrementation of linedisp_id is incorrect in two ways,
i.e. it may cause:
- an ID exhaustion
- (and if the above is addressed) a duplicate id number may be allocated
next time a device is added
Replace above mentioned approach by using IDA framework.
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions