[PATCH v2] backlight: ili922x: drop kernel-doc for local macros
Daniel Thompson
daniel.thompson at linaro.org
Thu Dec 7 09:10:34 UTC 2023
On Wed, Dec 06, 2023 at 09:45:25AM -0800, Randy Dunlap wrote:
> Don't use kernel-doc notation for the local macros START_BYTE() and
> CHECK_FREQ_REG(). This prevents these kernel-doc warnings:
>
> ili922x.c:85: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
> * START_BYTE(id, rs, rw)
> ili922x.c:85: warning: missing initial short description on line:
> * START_BYTE(id, rs, rw)
> ili922x.c:118: warning: expecting prototype for CHECK_FREQ_REG(spi_device s, spi_transfer x)(). Prototype was for CHECK_FREQ_REG() instead
>
> Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
> Cc: Lee Jones <lee at kernel.org>
> Cc: Daniel Thompson <daniel.thompson at linaro.org>
> Cc: Jingoo Han <jingoohan1 at gmail.com>
> Cc: Helge Deller <deller at gmx.de>
> Cc: linux-fbdev at vger.kernel.org
Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>
Daniel.
More information about the dri-devel
mailing list