diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2022-03-03 20:19:27 +0200 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2022-03-04 11:15:00 +0200 |
| commit | 69e807a5a9ffe595853277cb00d7d3fdd583b0fa (patch) | |
| tree | 476e79234b82b2becd90e1dfb0b6598c1e8fe415 /tools/perf/scripts/python/bin/export-to-sqlite-record | |
| parent | 8d80cceecdd98de6d2281d39d6571a1fe08e5af9 (diff) | |
| download | linux-69e807a5a9ffe595853277cb00d7d3fdd583b0fa.tar.gz linux-69e807a5a9ffe595853277cb00d7d3fdd583b0fa.zip | |
drm/i915/gmbus: combine gmbus pin lookups to one function
Combine the platform specific if ladders for array lookup and size
checks into one. This is cleaner and avoids duplication, but hopefully
also helps any static analyzers that seem to have trouble with the
bounds checks.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220303181931.1661767-1-jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-record')
0 files changed, 0 insertions, 0 deletions
