xprtrdma: Squelch a sparse warning
authorChuck Lever <chuck.lever@oracle.com>
Mon, 1 Oct 2018 18:26:51 +0000 (14:26 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 3 Oct 2018 18:35:17 +0000 (14:35 -0400)
linux/include/trace/events/rpcrdma.h:501:1: warning: expression using sizeof bool
linux/include/trace/events/rpcrdma.h:501:1: warning: odd constant _Bool cast (ffffffffffffffff becomes 1)

Fixes: ab03eff58eb5 ("xprtrdma: Add trace points in RPC Call ... ")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/trace/events/rpcrdma.h

index a4d9ff9c36d48a57b2feed44e1d9a787cb5812d8..b093058f78aacf446846277f2c10e5cd32fc171b 100644 (file)
@@ -509,7 +509,7 @@ TRACE_EVENT(xprtrdma_post_send,
        TP_STRUCT__entry(
                __field(const void *, req)
                __field(int, num_sge)
-               __field(bool, signaled)
+               __field(int, signaled)
                __field(int, status)
        ),