[PATCH 2/6] drm/bridge: aux-hpd: separate allocation and registration
Johan Hovold
johan at kernel.org
Thu Feb 22 16:06:10 UTC 2024
On Wed, Feb 21, 2024 at 08:06:41PM -0600, Bjorn Andersson wrote:
> On Sat, Feb 17, 2024 at 04:02:24PM +0100, Johan Hovold wrote:
> > diff --git a/drivers/gpu/drm/bridge/aux-hpd-bridge.c b/drivers/gpu/drm/bridge/aux-hpd-bridge.c
> [..]
> > +/**
> > + * devm_drm_dp_hpd_bridge_add - register a HDP DisplayPort bridge
>
> kernel-doc wants () after function names.
I don't think that's required for the symbol name here even if some
subsystems (drivers) use it.
> > + * @dev: struct device to tie registration lifetime to
> > + * @adev: bridge auxiliary device to be registered
> > + *
> > + * Returns: zero on success or a negative errno
>
> and "Return:" without the 's'.
This was a mistake however. Perhaps whoever applies this can drop it, or
I can send a v2.
Side note: Looks like there are more instances with an 's' than without
under driver/gpu/drm...
> This could however be done in a separate patch, as the file is already
> wrong in this regard.
>
> Reviewed-by: Bjorn Andersson <andersson at kernel.org>
Thanks for reviewing.
Johan
More information about the Freedreno
mailing list