diff options
| author | Jonathan Cavitt <jonathan.cavitt@intel.com> | 2025-11-04 16:41:51 +0000 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-11-13 12:02:47 +0200 |
| commit | b84befa3126634d78e31260f538453d534742908 (patch) | |
| tree | da1f9e0087f662704a68206d589e3e871cfa7787 /tools/lib/python/abi/helpers.py | |
| parent | 38759cc5ad8e1dddfa3519734cb6387e1b38dbd4 (diff) | |
drm/i915/display: Add default case to mipi_exec_send_packet
Add a default case to the switch case statement in mipi_exec_send_packet
to prevent attempts to read an uninitialized ret value. It's unlikely
the default case will ever occur during regular exeuction, but if more
MIPI DSI Processor-to-Peripheral transaction types are ever added, then
having this in place will be a useful safety guard.
Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Fixes: 23db1577ce2d ("drm/i915/dsi: log send packet sequence errors")
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patch.msgid.link/20251104164150.16795-2-jonathan.cavitt@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/lib/python/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions
