Re: [for-next][PATCH 11/11] treewide: Add missing semicolons to __assign_str uses

From: Steven Rostedt
Date: Thu Jun 10 2021 - 10:33:51 EST


On Wed, 09 Jun 2021 19:46:16 -0700
Joe Perches <joe@xxxxxxxxxxx> wrote:

> > diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
> []
> > @@ -33,7 +33,7 @@
> >   __string(vif_name, sdata->name)
> >  #define VIF_ASSIGN __entry->vif_type = sdata->vif.type; __entry->sdata = sdata; \
> >   __entry->p2p = sdata->vif.p2p; \
> > - __assign_str(vif_name, sdata->name)
> > + __assign_str(vif_name, sdata->name);
>
> This one is unnecessary as every use of VIF_ASSIGN already has a semicolon
> termination.
>

Care to send me a v2 of your patch then?

-- Steve