Re: [PATCH] usb: typec: Fix num_altmodes kernel-doc error

From: Prashant Malani
Date: Fri Nov 20 2020 - 03:43:58 EST


On Fri, Nov 20, 2020 at 09:41:21AM +0100, Greg KH wrote:
> On Thu, Nov 19, 2020 at 10:35:22PM -0800, Prashant Malani wrote:
> > The commit to introduce the num_altmodes attribute for partner had an
> > error where one of the parameters was named differently in the comment
> > and the function signature. Fix the version in the comment to align with
> > what is in the function signature.
> >
> > This fixes the following htmldocs warning:
> >
> > drivers/usb/typec/class.c:632: warning: Excess function parameter
> > 'num_alt_modes' description in 'typec_partner_set_num_altmodes'
> >
> > Fixes: a0ccdc4a77a1 ("usb: typec: Add number of altmodes partner attr")
> > Signed-off-by: Prashant Malani <pmalani@xxxxxxxxxxxx>
>
> You forgot a "Reported-by:" tag here :(
>
> I'll go add it by hand...

My bad :(, thank you for making the addition.

Best regards,

-Prashant