diff options
author | Deepak R Varma <[email protected]> | 2020-11-04 17:45:32 +0530 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2020-11-11 10:30:07 +0800 |
commit | 64e65f443a43c35967242fd13b494c251bc5d7ee (patch) | |
tree | 37a8d160bd16f2f58f141f8cca4ace5230632aff /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | a5a8ef937cfa79167f4b2a5602092b8d14fd6b9a (diff) |
drm/i915/gvt: replace idr_init() by idr_init_base()
idr_init() uses base 0 which is an invalid identifier. The new function
idr_init_base allows IDR to set the ID lookup from base 1. This avoids
all lookups that otherwise starts from 0 since 0 is always unused.
References: commit 6ce711f27500 ("idr: Make 1-based IDRs more efficient")
Reviewed-by: Zhenyu Wang <[email protected]>
Signed-off-by: Deepak R Varma <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/20201104121532.GA48202@localhost
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions