diff options
author | Tanner Love <[email protected]> | 2020-07-04 16:45:14 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-07-04 17:55:20 -0700 |
commit | f551e2fdaf81b7b561bb5dc590da13f21c4c1295 (patch) | |
tree | 49da302ece97957d48a6ad2ee4af571490e9fa94 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 565f499c6fad27e143e773758b568d3a3bc9d1ef (diff) |
selftests/net: update initializer syntax to use c99 designators
Before, clang version 9 threw errors such as: error:
use of GNU old-style field designator extension [-Werror,-Wgnu-designator]
{ tstamp: true, swtstamp: true }
^~~~~~~
.tstamp =
Fix these warnings in tools/testing/selftests/net in the same manner as
commit 121e357ac728 ("selftests/harness: Update named initializer syntax").
N.B. rxtimestamp.c is the only affected file in the directory.
Signed-off-by: Tanner Love <[email protected]>
Acked-by: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions