aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2025-08-06 17:52:24 +0800
committerLiu Ying <victor.liu@nxp.com>2025-08-15 11:19:56 +0800
commit50a8c08b8b69399a09c2dbcad8ef3fef9d9349d2 (patch)
tree27ea02fbd81a1bdeefdb40ffb5e430ad4f0c716f /tools/perf/scripts/python
parentdrm/rockchip: vop2: make vp registers nonvolatile (diff)
downloadwireguard-linux-50a8c08b8b69399a09c2dbcad8ef3fef9d9349d2.tar.xz
wireguard-linux-50a8c08b8b69399a09c2dbcad8ef3fef9d9349d2.zip
drm/bridge: analogix_dp: Fix bailout for devm_drm_bridge_alloc()
devm_drm_bridge_alloc() returns ERR_PTR on failure instead of a NULL pointer, so use IS_ERR() to check the returned pointer. While at it, on failure, return ERR_CAST(dp) instead of ERR_PTR(-ENOMEM) in order not to depend on devm_drm_bridge_alloc() error code implementation. Fixes: 48f05c3b4b70 ("drm/bridge: analogix_dp: Use devm_drm_bridge_alloc() API") Signed-off-by: Liu Ying <victor.liu@nxp.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://lore.kernel.org/r/20250806095224.527938-1-victor.liu@nxp.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions