Commit 69484d97 authored by Lee Jones's avatar Lee Jones Committed by Greg Kroah-Hartman
Browse files

comedi: drivers: ni_routes: Demote non-conforming kernel-doc headers



Fixes the following W=1 kernel build warning(s):

 drivers/staging/comedi/drivers/ni_routes.c:249: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 drivers/staging/comedi/drivers/ni_routes.c:398: warning: Function parameter or member 'routes' not described in 'ni_route_set_has_source'
 drivers/staging/comedi/drivers/ni_routes.c:398: warning: Function parameter or member 'source' not described in 'ni_route_set_has_source'
 drivers/staging/comedi/drivers/ni_routes.c:524: warning: Function parameter or member 'src_sel_reg_value' not described in 'ni_find_route_source'
 drivers/staging/comedi/drivers/ni_routes.c:524: warning: Function parameter or member 'dest' not described in 'ni_find_route_source'
 drivers/staging/comedi/drivers/ni_routes.c:524: warning: Function parameter or member 'tables' not described in 'ni_find_route_source'

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Alexander A. Klimov" <grandmaster@al2klimov.de>
Cc: "Spencer E. Olson" <olsonse@umich.edu>
Cc: linux-staging@lists.linux.dev
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210520122538.3470259-5-lee.jones@linaro.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7b89d91c
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -245,7 +245,7 @@ unsigned int ni_get_valid_routes(const struct ni_route_tables *tables,
}
}
EXPORT_SYMBOL_GPL(ni_get_valid_routes);
EXPORT_SYMBOL_GPL(ni_get_valid_routes);


/**
/*
 * List of NI global signal names that, as destinations, are only routeable
 * List of NI global signal names that, as destinations, are only routeable
 * indirectly through the *_arg elements of the comedi_cmd structure.
 * indirectly through the *_arg elements of the comedi_cmd structure.
 */
 */
@@ -387,7 +387,7 @@ ni_find_route_set(const int destination,
}
}
EXPORT_SYMBOL_GPL(ni_find_route_set);
EXPORT_SYMBOL_GPL(ni_find_route_set);


/**
/*
 * ni_route_set_has_source() - Determines whether the given source is in
 * ni_route_set_has_source() - Determines whether the given source is in
 *			       included given route_set.
 *			       included given route_set.
 *
 *
@@ -506,7 +506,7 @@ s8 ni_route_to_register(const int src, const int dest,
}
}
EXPORT_SYMBOL_GPL(ni_route_to_register);
EXPORT_SYMBOL_GPL(ni_route_to_register);


/**
/*
 * ni_find_route_source() - Finds the signal source corresponding to a signal
 * ni_find_route_source() - Finds the signal source corresponding to a signal
 *			    route (src-->dest) of the specified routing register
 *			    route (src-->dest) of the specified routing register
 *			    value and the specified route destination on the
 *			    value and the specified route destination on the