Re: [PATCH 02/22] linux/device.h: use unique identifier for each struct _ddebug

2018-09-20 Thread Greg Kroah-Hartman
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 pas

[PATCH 02/22] linux/device.h: use unique identifier for each struct _ddebug

2018-09-19 Thread Rasmus Villemoes
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