[PATCH] powerpc/eeh_cache: fix a W=1 kernel-doc warning

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jul 4 00:27:02 AEST 2019


On Wed, 2019-06-05 at 20:46:19 UTC, Qian Cai wrote:
> The opening comment mark "/**" is reserved for kernel-doc comments, so
> it will generate a warning with "make W=1".
> 
> arch/powerpc/kernel/eeh_cache.c:37: warning: cannot understand function
> prototype: 'struct pci_io_addr_range
> 
> Since this is not a kernel-doc for the struct below, but rather an
> overview of this source eeh_cache.c, just use the free-form comments
> kernel-doc syntax instead.
> 
> Signed-off-by: Qian Cai <cai at lca.pw>
> Acked-by: Russell Currey <ruscur at russell.cc>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/3becd11dffe5d4a7467ebd841172f3e091fbcbd0

cheers


More information about the Linuxppc-dev mailing list