summaryrefslogtreecommitdiff
path: root/patches/0075-ndo-stats-64.cocci
AgeCommit message (Collapse)Author
2017-11-17patches: pre-declare stats64_fn_wrap() to avoid sparse warningsLuca Coelho
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>
2017-09-06patches: adapt the stat64 usage for usbnetHauke Mehrtens
The usbnet driver shares the stat64 implementation over multiple drivers and file, the spatch is not able to handle this, add a manual patch to work around this problem. The spatch is still modifying all usbnet drivers, but the function gets exported by the usbnet main driver now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-24backports: adjust ndo_get_stats64 change to 4.11Johannes Berg
This will only land in kernel 4.11, I mixed up the versions before. Fix that. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-09backports: always use new version compare macrosJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-07backports: add spatch to backport ndo_stats64 prototype changeJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>