[PATCH] lib: remove extra characters ending comment blocks

fengchengwen fengchengwen at huawei.com
Fri Jan 30 02:22:23 CET 2026


Acked-by: Chengwen Feng <fengchengwen at huawei.com>

On 1/29/2026 10:47 PM, Thomas Monjalon 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>



More information about the dev mailing list