Re: [PATCH 25/30] iio: imu: inv_mpu6050: inv_mpu_ring: Demote seemingly unintentional kerneldoc header

From: Jonathan Cameron
Date: Sat Jul 18 2020 - 12:03:53 EST


On Fri, 17 Jul 2020 17:55:33 +0100
Lee Jones <lee.jones@xxxxxxxxxx> wrote:

> This is the only use of kerneldoc in the source file and no
> descriptions are provided.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c:118: warning: Function parameter or member 'irq' not described in 'inv_mpu6050_read_fifo'
> drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c:118: warning: Function parameter or member 'p' not described in 'inv_mpu6050_read_fifo'
>
> Cc: Jean-Baptiste Maneyrol <jmaneyrol@xxxxxxxxxxxxxx>
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to play with it.

Thanks,

Jonathan

> ---
> drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c b/drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c
> index 9511e4715e2c1..b533fa2dad0ab 100644
> --- a/drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c
> +++ b/drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c
> @@ -111,7 +111,7 @@ static int inv_reset_fifo(struct iio_dev *indio_dev)
> return result;
> }
>
> -/**
> +/*
> * inv_mpu6050_read_fifo() - Transfer data from hardware FIFO to KFIFO.
> */
> irqreturn_t inv_mpu6050_read_fifo(int irq, void *p)