lkml.org 
[lkml]   [2018]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 3/5] pktgen: Add behavior flag names array - pkt_flag_names
From
From: Dmitry Safonov <dima@arista.com>
Date: Tue, 9 Jan 2018 13:55:33 +0000

> +#define pf(flag) __stringify(flag),
> +char *pkt_flag_names[] = {
> + PKT_FLAGS
> +};
> +#undef pf

This should be static, also you don't use this table in this patch. You
should add the table in the patch that actually uses the table.

\
 
 \ /
  Last update: 2018-01-15 19:10    [W:0.066 / U:26.524 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site