Re: [PATCH v6 2/8] linux/net.h: use unique identifier for each struct _ddebug

From: David Miller
Date: Mon Jun 17 2019 - 19:13:50 EST

From: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Jun 2019 00:20:28 +0200

> Changes on x86-64 later in this series require that all struct _ddebug
> descriptors in a translation unit uses distinct identifiers. Realize
> that for net_dbg_ratelimited by generating such an identifier via
> __UNIQUE_ID and pass that to an extra level of macros.
> No functional change.
> Cc: netdev@xxxxxxxxxxxxxxx
> Acked-by: Jason Baron <jbaron@xxxxxxxxxx>
> Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>