Re: [PATCH v2] spi: <linux/spi/spi.h>: add missing struct kernel-doc entry

From: Lukas Wunner
Date: Tue Jun 29 2021 - 02:18:28 EST


On Mon, Jun 28, 2021 at 02:05:20PM -0700, Randy Dunlap wrote:
> Fix kernel-doc warning in spi.h by adding the missing kernel-doc entry
> and also correct the original comment so that they both indicate the
> correct polarity of the flag.
>
> ../include/linux/spi/spi.h:673: warning: Function parameter or member 'devm_allocated' not described in 'spi_controller'
>
> Fixes: 794aaf01444d ("spi: Fix use-after-free with devm_spi_alloc_*")
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: William A. Kennington III <wak@xxxxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxx>
> Cc: linux-spi@xxxxxxxxxxxxxxx

Reviewed-by: Lukas Wunner <lukas@xxxxxxxxx>