Re: [PATCH RESEND] drm/bridge: drm_bridge_get/put(): document NULL pointer behaviour

From: Luca Ceresoli

Date: Thu Apr 09 2026 - 10:39:42 EST



On Tue, 24 Mar 2026 10:08:49 +0100, Luca Ceresoli wrote:
> drm_bridge_get and drm_bridge_put() do nothing when they are passed a NULL
> pointer, and they do so since their initial addition in commit 30d1b37d4c02
> ("drm/bridge: add support for refcounting").
>
> This allows simpler code in various places when using these
> functions. However it's not documented, so it's not clear whether it is
> part of the API "contract" or just a current implementation detail that
> might change in the future.
>
> [...]

Applied, thanks!

[1/1] drm/bridge: drm_bridge_get/put(): document NULL pointer behaviour
commit: af29fcbe806ecd10078c406470fecb902b3c0e55

Best regards,
--
Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>