summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-03-08 19:03:39 +0300
committerJani Nikula <jani.nikula@intel.com>2024-03-13 11:44:14 +0300
commit7af03e688792293ba33149fb8df619a8dff90e80 (patch)
treec76248ae060287c03ee461d5739d1444691b94ba /tools/perf/scripts/python/exported-sql-viewer.py
parentdea185b71bae61808c70263da5f9251e149f1e9e (diff)
downloadlinux-7af03e688792293ba33149fb8df619a8dff90e80.tar.xz
drm/probe-helper: warn about negative .get_modes()
The .get_modes() callback is supposed to return the number of modes, never a negative error code. If a negative value is returned, it'll just be interpreted as a negative count, and added to previous calculations. Document the rules, but handle the negative values gracefully with an error message. Cc: stable@vger.kernel.org Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/50208c866facc33226a3c77b82bb96aeef8ef310.1709913674.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions