* [PATCH] iio: fix kernel-doc build errors
@ 2017-10-30 0:06 Randy Dunlap
2017-11-19 16:06 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2017-10-30 0:06 UTC (permalink / raw)
To: linux-iio, Jonathan Cameron; +Cc: LKML
From: Randy Dunlap <rdunlap@infradead.org>
Fix build errors in kernel-doc notation. Symbols that end in '_'
have a special meaning, but adding a '*' makes them OK.
../drivers/iio/industrialio-core.c:635: ERROR: Unknown target name: "iio_val".
../drivers/iio/industrialio-core.c:642: ERROR: Unknown target name: "iio_val".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: linux-iio@vger.kernel.org
---
drivers/iio/industrialio-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- lnx-414-rc7.orig/drivers/iio/industrialio-core.c
+++ lnx-414-rc7/drivers/iio/industrialio-core.c
@@ -631,7 +631,7 @@ static ssize_t __iio_format_value(char *
* iio_format_value() - Formats a IIO value into its string representation
* @buf: The buffer to which the formatted value gets written
* which is assumed to be big enough (i.e. PAGE_SIZE).
- * @type: One of the IIO_VAL_... constants. This decides how the val
+ * @type: One of the IIO_VAL_* constants. This decides how the val
* and val2 parameters are formatted.
* @size: Number of IIO value entries contained in vals
* @vals: Pointer to the values, exact meaning depends on the
@@ -639,7 +639,7 @@ static ssize_t __iio_format_value(char *
*
* Return: 0 by default, a negative number on failure or the
* total number of characters written for a type that belongs
- * to the IIO_VAL_... constant.
+ * to the IIO_VAL_* constant.
*/
ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: fix kernel-doc build errors
2017-10-30 0:06 [PATCH] iio: fix kernel-doc build errors Randy Dunlap
@ 2017-11-19 16:06 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2017-11-19 16:06 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-iio, LKML
On Sun, 29 Oct 2017 17:06:01 -0700
Randy Dunlap <rdunlap@infradead.org> wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix build errors in kernel-doc notation. Symbols that end in '_'
> have a special meaning, but adding a '*' makes them OK.
>
> ../drivers/iio/industrialio-core.c:635: ERROR: Unknown target name: "iio_val".
> ../drivers/iio/industrialio-core.c:642: ERROR: Unknown target name: "iio_val".
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: linux-iio@vger.kernel.org
Applied to the fixes-togreg branch of iio.git and marked for stable.
Thanks,
Jonathan
> ---
> drivers/iio/industrialio-core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- lnx-414-rc7.orig/drivers/iio/industrialio-core.c
> +++ lnx-414-rc7/drivers/iio/industrialio-core.c
> @@ -631,7 +631,7 @@ static ssize_t __iio_format_value(char *
> * iio_format_value() - Formats a IIO value into its string representation
> * @buf: The buffer to which the formatted value gets written
> * which is assumed to be big enough (i.e. PAGE_SIZE).
> - * @type: One of the IIO_VAL_... constants. This decides how the val
> + * @type: One of the IIO_VAL_* constants. This decides how the val
> * and val2 parameters are formatted.
> * @size: Number of IIO value entries contained in vals
> * @vals: Pointer to the values, exact meaning depends on the
> @@ -639,7 +639,7 @@ static ssize_t __iio_format_value(char *
> *
> * Return: 0 by default, a negative number on failure or the
> * total number of characters written for a type that belongs
> - * to the IIO_VAL_... constant.
> + * to the IIO_VAL_* constant.
> */
> ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals)
> {
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-19 16:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-30 0:06 [PATCH] iio: fix kernel-doc build errors Randy Dunlap
2017-11-19 16:06 ` Jonathan Cameron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.