patches: pre-declare stats64_fn_wrap() to avoid sparse warnings
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 2 Nov 2017 09:59:35 +0000 (11:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Nov 2017 09:47:40 +0000 (10:47 +0100)
commit2697a217cace11c3e97f51a9e2e9bc55eb29c2b4
treecdbd67cde5118b807b4e11aa6779d2046a58fe9a
parent662da74dff753be0da8ecc8a66a52484f4f3b7d7
patches: pre-declare stats64_fn_wrap() to avoid sparse warnings

The stats64_fn_wrap() function was changed to be not-static so it can
be used by usbnet.  This causes problems in files that don't export
it.  Work around that byt just pre-declaring it before the actual
definition.

Fixes: 5a00d8489c7 ("patches: adapt the stat64 usage for usbnet")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
patches/0075-ndo-stats-64.cocci