Skip to content

Commit dc67dac

Browse files
AdityaSrivastLi Yang
authored andcommitted
soc: fsl: guts: fix comment syntax in file
The opening comment mark '/**' is used for kernel-doc comments. There are certain comments in include/linux/fsl/guts.h which follows this syntax, but the content inside does not comply with kernel-doc. E.g., opening comment for "Freecale 85xx and 86xx Global Utilties register set" follows kernel-doc syntax(i.e., '/**'), but the content inside does not comply with any kernel-doc specification (function, struct, etc). This causes unwelcomed warning from kernel-doc: "warning: expecting prototype for Freecale 85xx and 86xx Global Utilties register set(). Prototype was for __FSL_GUTS_H__() instead" Replace all such comment occurrences with general comment format, i.e. '/*' to pervent kernel-doc from parsing these. Signed-off-by: Aditya Srivastava <yashsri421@gmail.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Li Yang <leoyang.li@nxp.com>
1 parent 9469f04 commit dc67dac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/linux/fsl/guts.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* SPDX-License-Identifier: GPL-2.0-or-later */
2-
/**
2+
/*
33
* Freecale 85xx and 86xx Global Utilties register set
44
*
55
* Authors: Jeff Brown
@@ -14,7 +14,7 @@
1414
#include <linux/types.h>
1515
#include <linux/io.h>
1616

17-
/**
17+
/*
1818
* Global Utility Registers.
1919
*
2020
* Not all registers defined in this structure are available on all chips, so

0 commit comments

Comments
 (0)