flow_dissector: do not rely on implicit casts
authorPaolo Abeni <pabeni@redhat.com>
Mon, 7 May 2018 10:06:03 +0000 (12:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 May 2018 04:02:41 +0000 (00:02 -0400)
commitd869dea664e662a4380ccf59cb9be9888a7af53a
treebcd401979d922265c519a57190a10e8df42c9dd9
parent72a338bcc6ae51e01c95d687e5d775e3fe52eff1
flow_dissector: do not rely on implicit casts

This change fixes a couple of type mismatch reported by the sparse
tool, explicitly using the requested type for the offending arguments.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tipc.h
net/core/flow_dissector.c