lib/win_minmax: use /* notation for regular comments
PATCH 1/1 lib/win_minmax: use /* notation for regular comments
Don't use kernel-doc "/**" notation for non-kernel-doc comments. Prevents a kernel-doc warning:
lib/win_minmax.c:31: warning: expecting prototype for lib/minmax.c(). Prototype was for minmax_subwin_update() instead
--- lib/win_minmax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/win_minmax.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0 -/** +/* * lib/minmax.c: windowed min/max tracker * * Kathleen Nichols' algorithm for tracking the minimum (or maximum)
Quoted 4 lines · Randy Dunlap
Don't use kernel-doc "/**" notation for non-kernel-doc comments. Prevents a kernel-doc warning:
lib/win_minmax.c:31: warning: expecting prototype for lib/minmax.c(). Prototype was forminmax_subwin_update()instead
...
lib/win_minmax.c line 3
Quoted 3 lines
lib/win_minmax.c +1
-1-/** +/* * lib/minmax.c: windowed min/max tracker
Side note (just stumbled over it today), if you fixing like this it also makes sense to drop rather problematic filename in the file. Here is exactly a good example why (it's not the same as on the filesystem and in general easy to go south with time).
Quoted 2 lines
*
* Kathleen Nichols' algorithm for tracking the minimum (or maximum)
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 8 lines · Andy Shevchenko
Quoted 4 lines · Randy Dunlap
Don't use kernel-doc "/**" notation for non-kernel-doc comments. Prevents a kernel-doc warning:
lib/win_minmax.c:31: warning: expecting prototype for lib/minmax.c(). Prototype was forminmax_subwin_update()instead...
Quoted 8 lines
lib/win_minmax.c line 3
Quoted 3 lines
lib/win_minmax.c +1
-1-/** +/* * lib/minmax.c: windowed min/max tracker Side note (just stumbled over it today), if you fixing like this it also makes sense to drop rather problematic filename in the file. Here is exactly a good example why (it's not the same as on the filesystem and in general easy to go south with time).
Ack. I'll try to do that in the future.
Quoted 3 lines
Quoted 2 lines
*
* Kathleen Nichols' algorithm for tracking the minimum (or maximum)
Signature · 1 line
~Randy