drm/nouveau: Two fixes from Clang warning audit
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/nouveau: Handle NVIF_CONN_TV and fix error cleanup in nouveau_connector_create()drivers/ | +6 | 0 replies | |
| 2/2 | drm/nouveau/kms: Initialize primary_crc for RG CRC capture on GB20xdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] drm/nouveau: Two fixes from Clang warning audit
Two independent fixes in drm/nouveau found while auditing Clang warnings (-Wswitch-enum and -Wconditional-uninitialized) on an x86_64 allyesconfig build:
1. Handle NVIF_CONN_TV and release nv_connector on error in nouveau_connector_create().
2. Initialize primary_crc before switching on src in crcca7d_get_crc() for GB20x RG CRC capture.
Build-tested with LLVM=1 W=1 (-Werror); not runtime-tested on Nouveau hardware.
Ian Rogers (2):
drm/nouveau: Handle NVIF_CONN_TV and fix error cleanup in
nouveau_connector_create()
drm/nouveau/kms: Initialize primary_crc for RG CRC capture on GB20x
drivers/gpu/drm/nouveau/dispnv50/crcca7d.c | 1 + drivers/gpu/drm/nouveau/nouveau_connector.c | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-)
Signature · 1 line
2.56.1.708.g77570a6a1d-goog