summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-11-08 01:27:22 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-08 05:03:08 +0100
commitfd2f4737870eb866537fbbffa2b59414b9b0c0a2 (patch)
tree1a717aaeccccc9d8ff8f923dc9ac4f0d840655cd /drivers/iio
parenttun: switch to u64_stats_t (diff)
downloadlinux-fd2f4737870eb866537fbbffa2b59414b9b0c0a2.tar.xz
linux-fd2f4737870eb866537fbbffa2b59414b9b0c0a2.zip
net: use u64_stats_t in struct pcpu_lstats
In order to fix the data-race found by KCSAN, we can use the new u64_stats_t type and its accessors instead of plain u64 fields. This will still generate optimal code for both 32 and 64 bit platforms. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions