Claude review: drm: verisilicon: make vs_format conversion function return int

Claude Code Review Bot
2026-03-31T06:44:29Z

Patch Review

**Status: Good**

Clean mechanical change. Converts `drm_format_to_vs_format()` from `void` to `int`, replacing the `pr_warn()` on unknown format with `return -EINVAL`, and adding `return 0` on the success path. The commit message correctly notes the return value is not yet checked — that comes in patch 4.

The `pr_warn()` removal is fine since callers will now check the return code. No issues.