Re: [PATCH 02/22] linux/device.h: use unique identifier for each struct _ddebug
From: Greg Kroah-Hartman
Date: Thu Sep 20 2018 - 04:48:04 EST
On Thu, Sep 20, 2018 at 12:04:24AM +0200, Rasmus Villemoes wrote:
> Changes on x86-64 later in this series require that all struct _ddebug
> descriptors in a translation unit uses distinct identifiers. Realize
> that for dev_dbg_ratelimited by generating such an identifier via
> __UNIQUE_ID and pass that to an extra level of macros.
> No functional change.
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>