Re: [PATCH] Documentation: driver-api: fix device_connection.rst kernel-doc error

From: Heikki Krogerus
Date: Fri Apr 27 2018 - 07:30:41 EST


On Thu, Apr 26, 2018 at 06:29:41PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Using incorrect :functions: syntax (extra space) causes an odd kernel-doc
> warning, so fix that.
>
> Documentation/driver-api/device_connection.rst:42: ERROR: Error in "kernel-doc" directive:
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>

FWIW:

Reviewed-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>

> ---
> Documentation/driver-api/device_connection.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20180426.orig/Documentation/driver-api/device_connection.rst
> +++ linux-next-20180426/Documentation/driver-api/device_connection.rst
> @@ -40,4 +40,4 @@ API
> ---
>
> .. kernel-doc:: drivers/base/devcon.c
> - : functions: device_connection_find_match device_connection_find device_connection_add device_connection_remove
> + :functions: device_connection_find_match device_connection_find device_connection_add device_connection_remove
>

Thanks,

--
heikki