Skip to content

Commit 8753077

Browse files
rddunlapkuba-moo
authored andcommitted
ptp: ptp_clockmatrix: repair non-kernel-doc comment
Do not use "/**" to begin a comment that is not in kernel-doc format. Prevents this docs build warning: drivers/ptp/ptp_clockmatrix.c:1679: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Maximum absolute value for write phase offset in picoseconds Then remove the kernel-doc-like function parameter descriptions since they don't add any useful info. (suggested by Jakub) Fixes: 794c3df ("ptp: ptp_clockmatrix: Add support for FW 5.2 (8A34005)") Signed-off-by: Randy Dunlap <[email protected]> Reported-by: kernel test robot <[email protected]> Cc: Min Li <[email protected]> Acked-by: Richard Cochran <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 81b1d54 commit 8753077

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/ptp/ptp_clockmatrix.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,12 +1699,9 @@ static int initialize_dco_operating_mode(struct idtcm_channel *channel)
16991699

17001700
/* PTP Hardware Clock interface */
17011701

1702-
/**
1702+
/*
17031703
* Maximum absolute value for write phase offset in picoseconds
17041704
*
1705-
* @channel: channel
1706-
* @delta_ns: delta in nanoseconds
1707-
*
17081705
* Destination signed register is 32-bit register in resolution of 50ps
17091706
*
17101707
* 0x7fffffff * 50 = 2147483647 * 50 = 107374182350

0 commit comments

Comments
 (0)