Thread (9 messages) flat view 9 messages, 5 authors, 2017-10-27

Re: [PATCH net-next] tcp: add tracepoint trace_tcp_retransmit_synack()

From: Song Liu <hidden>
Date: 2017-10-27 05:06:37

On Oct 26, 2017, at 7:01 PM, Cong Wang [off-list ref] wrote:

On Thu, Oct 26, 2017 at 4:50 PM, Song Liu [off-list ref] wrote:
quoted
In this case, we are putting CONFIG_IPV6 in TRACE_EVENT macro, which generates
warnings like:

./include/trace/events/tcp.h:274:1: error: directive in argument list
./include/trace/events/tcp.h:281:1: error: directive in argument list

Seems these warning cannot be easily avoided. This is also the same pattern we
have been using in include/trace/events/tcp.h.
Hmm, we use the same so why it only complains about this one?\
sparse reports same warning for all the lines in tcp.h. Don't know why
kbuild test bot only complains about this patch. 
quoted
Any suggestions on how shall we proceed from here?
I think this warning is harmless, so perhaps not worthy time to
shut it up, unless sparse provides a simple way to do so.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help