From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [iproute PATCH 2/3] ss: Put filter DB parsing into a separate function Date: Tue, 27 Mar 2018 11:46:01 -0700 Message-ID: <20180327114601.62112467@xeon-e3> References: <20180324181811.22615-1-phil@nwl.cc> <20180324181811.22615-3-phil@nwl.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: Phil Sutter Return-path: Received: from mail-pf0-f174.google.com ([209.85.192.174]:37292 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750878AbeC0SqE (ORCPT ); Tue, 27 Mar 2018 14:46:04 -0400 Received: by mail-pf0-f174.google.com with SMTP id t16so4989918pfh.4 for ; Tue, 27 Mar 2018 11:46:04 -0700 (PDT) In-Reply-To: <20180324181811.22615-3-phil@nwl.cc> Sender: netdev-owner@vger.kernel.org List-ID: On Sat, 24 Mar 2018 19:18:10 +0100 Phil Sutter 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.