net/sfc: fix type of opaque pointer in perf profile handler
authorRoman Zhukov <roman.zhukov@oktetlabs.ru>
Sat, 24 Mar 2018 06:42:23 +0000 (06:42 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commit5076ad03912e49fc4fa991bcff3f5188ccbfeb9d
tree9e2db78e3dd8eeda7e9293fc0f6909c78f66e9da
parent239c9b435ad4abcac89b5d2480a0c21ce8b8288f
net/sfc: fix type of opaque pointer in perf profile handler

The 'opaque' pointer in handler function is the last argument
of sfc_kvargs_process() function and it is pointer to the adapter
'evq_flags' that has a uint32_t type. So 'value' must be pointer
to uint32_t.

Fixes: c22d3c508e0c ("net/sfc: support parameter to choose performance profile")
Cc: stable@dpdk.org
Signed-off-by: Roman Zhukov <roman.zhukov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_ev.c