Re: [PATCH V2] treewide: Add missing semicolons to __assign_str uses

From: Steven Rostedt
Date: Sat Jun 12 2021 - 19:12:41 EST


On Sat, 12 Jun 2021 08:42:27 -0700
Joe Perches <joe@xxxxxxxxxxx> wrote:

> The __assign_str macro has an unusual ending semicolon but the vast
> majority of uses of the macro already have semicolon termination.
>
> $ git grep -P '\b__assign_str\b' | wc -l
> 551
> $ git grep -P '\b__assign_str\b.*;' | wc -l
> 480
>
> Add semicolons to the __assign_str() uses without semicolon termination
> and all the other uses without semicolon termination via additional defines
> that are equivalent to __assign_str() with the eventual goal of removing
> the semicolon from the __assign_str() macro definition.
>
> Link: https://lore.kernel.org/lkml/1e068d21106bb6db05b735b4916bb420e6c9842a.camel@xxxxxxxxxxx/

FYI, please send new patches as new threads. Otherwise it is likely to
be missed.

-- Steve