On 8/8/21 11:21 PM, Jackie Liu wrote:
+// Returns a pointer to the first whitespace character in s (or a pointer to
+// the terminating null), which is effectively a pointer to the position *after*
+// the last character in the non-whitespace token at the beginning of s. (s is
+// expected to be the result of a previous call to blk_ledtrig_skip_whitespace.)
These are not linux kernel style comments.
Do you mean kernel-doc comments? If so, they're not supposed to be, as
the functions are not exported.
+static const char *blk_ledtrig_find_whitespace(const char *s) ^^^^^^
--
========================================================================
In Soviet Russia, Google searches you!
========================================================================