[PATCH] lib: remove extra characters ending comment blocks

Thomas Monjalon thomas at monjalon.net
Wed Feb 4 21:34:07 CET 2026


29/01/2026 21:14, Stephen Hemminger:
> On Thu, 29 Jan 2026 15:47:48 +0100
> Thomas Monjalon <thomas at monjalon.net> wrote:
> 
> > At the end of a comment, no need for an extra line.
> > 
> > This pattern was fixed with the following command:
> > git ls lib | xargs sed -i '/^ *\* *$/{N;/ *\*\/ *$/D;}'
> > 
> > A comment should always be terminated with */
> > 
> > Extra asterisks were found with this command:
> > git grep '\* *\*/' lib
> > 
> > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> 
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>

Applied.




More information about the dev mailing list