diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2018-09-20 14:28:38 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-09-24 09:28:51 +0200 |
commit | 351e820b3011171257f9388bd19e458a7c909f8c (patch) | |
tree | 3eabaab89edaec4e52733c635213af43c82341f3 /patches | |
parent | 0782ee3bd8a245d70696ca2b0f0733a980c62764 (diff) |
backport: update u64_stats_init() to a new version in kernels < 4.2
The u64_stats_init() macro was turned into a static inline function in
v4.2 to prevent warnings that happen when its argument is not used
elsewhere.
Since we started hitting these warnings, undefine the macro and define
the static inline to prevent them.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches')
0 files changed, 0 insertions, 0 deletions