On Tue, Mar 27, 2018 at 11:46:01AM -0700, Stephen Hemminger wrote: > On Sat, 24 Mar 2018 19:18:10 +0100 > Phil Sutter <p...@nwl.cc> wrote: > > > +#define ENTRY(name, ...) { #name, { __VA_ARGS__, MAX_DB }} > > > + ENTRY(all, UDP_DB, DCCP_DB, TCP_DB, RAW_DB, \ > > + UNIX_ST_DB, UNIX_DG_DB, UNIX_SQ_DB, \ > > + PACKET_R_DB, PACKET_DG_DB, NETLINK_DB, \ > > + SCTP_DB, VSOCK_ST_DB, VSOCK_DG_DB), > > Checkpatch complains that line continuations are not necessary here; > and it is right. Macro usage can cross lines.
Interesting. Seems I should fix my muscle memory when it comes to macros. :) I'll follow-up with a fixed version. Thanks, Phil