From: Jose E. Marchesi Date: Fri, 7 Aug 2020 09:27:55 +0000 (+0200) Subject: bpf: remove trailing whitespaces from source files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e87c540fe43e29663140ed67b98ee437c25696bb;p=gcc.git bpf: remove trailing whitespaces from source files This patch is a little cleanup that removes trailing whitespaces from the bpf backend source files. 2020-08-07 Jose E. Marchesi gcc/ * config/bpf/bpf.md: Remove trailing whitespaces. * config/bpf/constraints.md: Likewise. * config/bpf/predicates.md: Likewise. gcc/testsuite/ * gcc.target/bpf/diag-funargs-2.c: Remove trailing whitespaces. * gcc.target/bpf/skb-ancestor-cgroup-id.c: Likewise. * gcc.target/bpf/helper-xdp-adjust-meta.c: Likewise. * gcc.target/bpf/helper-xdp-adjust-head.c: Likewise. * gcc.target/bpf/helper-tcp-check-syncookie.c: Likewise. * gcc.target/bpf/helper-sock-ops-cb-flags-set.c * gcc.target/bpf/helper-sysctl-set-new-value.c: Likewise. * gcc.target/bpf/helper-sysctl-get-new-value.c: Likewise. * gcc.target/bpf/helper-sysctl-get-name.c: Likewise. * gcc.target/bpf/helper-sysctl-get-current-value.c: Likewise. * gcc.target/bpf/helper-strtoul.c: Likewise. * gcc.target/bpf/helper-strtol.c: Likewise. * gcc.target/bpf/helper-sock-map-update.c: Likewise. * gcc.target/bpf/helper-sk-storage-get.c: Likewise. * gcc.target/bpf/helper-sk-storage-delete.c: Likewise. * gcc.target/bpf/helper-sk-select-reuseport.c: Likewise. * gcc.target/bpf/helper-sk-release.c: Likewise. * gcc.target/bpf/helper-sk-redirect-map.c: Likewise. * gcc.target/bpf/helper-sk-lookup-upd.c: Likewise. * gcc.target/bpf/helper-sk-lookup-tcp.c: Likewise. * gcc.target/bpf/helper-skb-change-head.c: Likewise. * gcc.target/bpf/helper-skb-cgroup-id.c: Likewise. * gcc.target/bpf/helper-skb-adjust-room.c: Likewise. * gcc.target/bpf/helper-set-hash.c: Likewise. * gcc.target/bpf/helper-setsockopt.c: Likewise. * gcc.target/bpf/helper-redirect-map.c: Likewise. * gcc.target/bpf/helper-rc-repeat.c: Likewise. * gcc.target/bpf/helper-rc-keydown.c: Likewise. * gcc.target/bpf/helper-probe-read-str.c: Likewise. * gcc.target/bpf/helper-perf-prog-read-value.c: Likewise. * gcc.target/bpf/helper-perf-event-read-value.c: Likewise. * gcc.target/bpf/helper-override-return.c: Likewise. * gcc.target/bpf/helper-msg-redirect-map.c: Likewise. * gcc.target/bpf/helper-msg-pull-data.c: Likewise. * gcc.target/bpf/helper-msg-cork-bytes.c: Likewise. * gcc.target/bpf/helper-msg-apply-bytes.c: Likewise. * gcc.target/bpf/helper-lwt-seg6-store-bytes.c: Likewise. * gcc.target/bpf/helper-lwt-seg6-adjust-srh.c: Likewise. * gcc.target/bpf/helper-lwt-seg6-action.c: Likewise. * gcc.target/bpf/helper-lwt-push-encap.c: Likewise. * gcc.target/bpf/helper-get-socket-uid.c: Likewise. * gcc.target/bpf/helper-get-socket-cookie.c: Likewise. * gcc.target/bpf/helper-get-local-storage.c: Likewise. * gcc.target/bpf/helper-get-current-cgroup-id.c: Likewise. * gcc.target/bpf/helper-getsockopt.c: Likewise. * gcc.target/bpf/diag-funargs-3.c: Likewise. --- diff --git a/gcc/config/bpf/bpf.md b/gcc/config/bpf/bpf.md index 3aa8644a806..41bb4fcd9a7 100644 --- a/gcc/config/bpf/bpf.md +++ b/gcc/config/bpf/bpf.md @@ -271,7 +271,7 @@ { if (!register_operand(operands[0], mode) && !register_operand(operands[1], mode)) - operands[1] = force_reg (mode, operands[1]); + operands[1] = force_reg (mode, operands[1]); }") (define_insn "*mov" diff --git a/gcc/config/bpf/constraints.md b/gcc/config/bpf/constraints.md index 050383ec416..9e203be88f2 100644 --- a/gcc/config/bpf/constraints.md +++ b/gcc/config/bpf/constraints.md @@ -29,4 +29,3 @@ (define_constraint "S" "A constant call address." (match_code "const,symbol_ref,label_ref,const_int")) - diff --git a/gcc/config/bpf/predicates.md b/gcc/config/bpf/predicates.md index 865a5272154..ce3cbc62acb 100644 --- a/gcc/config/bpf/predicates.md +++ b/gcc/config/bpf/predicates.md @@ -61,4 +61,3 @@ (define_predicate "register_compare_operator" (match_code "eq,ne,geu,gtu,ge,gt")) - diff --git a/gcc/testsuite/gcc.target/bpf/diag-funargs-2.c b/gcc/testsuite/gcc.target/bpf/diag-funargs-2.c index 7c991af336b..116f1bc849d 100644 --- a/gcc/testsuite/gcc.target/bpf/diag-funargs-2.c +++ b/gcc/testsuite/gcc.target/bpf/diag-funargs-2.c @@ -23,4 +23,3 @@ int foo () jorl (je, 1, 2, 3); /* { dg-error "too many function arguments" } */ return 2L /1; } - diff --git a/gcc/testsuite/gcc.target/bpf/diag-funargs-3.c b/gcc/testsuite/gcc.target/bpf/diag-funargs-3.c index d9d42c18258..598a9dbeb4b 100644 --- a/gcc/testsuite/gcc.target/bpf/diag-funargs-3.c +++ b/gcc/testsuite/gcc.target/bpf/diag-funargs-3.c @@ -23,4 +23,3 @@ int foo () jorl (je, 1, 2, 3, 4); /* { dg-error "too many function arguments" } */ return 2L /1; } - diff --git a/gcc/testsuite/gcc.target/bpf/helper-get-current-cgroup-id.c b/gcc/testsuite/gcc.target/bpf/helper-get-current-cgroup-id.c index b0c0b74c11f..6f55e5167fa 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-get-current-cgroup-id.c +++ b/gcc/testsuite/gcc.target/bpf/helper-get-current-cgroup-id.c @@ -8,7 +8,7 @@ void foo () { uint64_t ret; - + ret = bpf_get_current_cgroup_id (); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-get-local-storage.c b/gcc/testsuite/gcc.target/bpf/helper-get-local-storage.c index 1c28ef52c11..616342c4d62 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-get-local-storage.c +++ b/gcc/testsuite/gcc.target/bpf/helper-get-local-storage.c @@ -9,7 +9,7 @@ foo () { void *ret, *map; uint64_t flags; - + ret = bpf_get_local_storage (map, flags); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-get-socket-cookie.c b/gcc/testsuite/gcc.target/bpf/helper-get-socket-cookie.c index e2e421f9859..e6c538578b7 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-get-socket-cookie.c +++ b/gcc/testsuite/gcc.target/bpf/helper-get-socket-cookie.c @@ -9,7 +9,7 @@ foo () { uint64_t ret; void *skb; - + ret = bpf_get_socket_cookie (skb); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-get-socket-uid.c b/gcc/testsuite/gcc.target/bpf/helper-get-socket-uid.c index 343f86656d1..c1eaa2b7c29 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-get-socket-uid.c +++ b/gcc/testsuite/gcc.target/bpf/helper-get-socket-uid.c @@ -9,7 +9,7 @@ foo () { uint32_t ret; void *skb; - + ret = bpf_get_socket_uid (skb); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-getsockopt.c b/gcc/testsuite/gcc.target/bpf/helper-getsockopt.c index c4b32982ed7..3f71b6bfa6c 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-getsockopt.c +++ b/gcc/testsuite/gcc.target/bpf/helper-getsockopt.c @@ -11,7 +11,7 @@ foo () void *bpf_socket; int level, optname, optlen; char *optval; - + ret = bpf_getsockopt (bpf_socket, level, optname, optval, optlen); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-lwt-push-encap.c b/gcc/testsuite/gcc.target/bpf/helper-lwt-push-encap.c index c6d4769b742..c6d82ccf8ba 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-lwt-push-encap.c +++ b/gcc/testsuite/gcc.target/bpf/helper-lwt-push-encap.c @@ -10,7 +10,7 @@ foo () int ret; void *skb, *hdr; uint32_t type, len; - + ret = bpf_lwt_push_encap (skb, type, hdr, len); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-action.c b/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-action.c index 4cd7052806b..2fc7e48e526 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-action.c +++ b/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-action.c @@ -10,7 +10,7 @@ foo () int ret; void *skb, *param; uint32_t action, param_len; - + ret = bpf_lwt_seg6_action (skb, action, param, param_len); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-adjust-srh.c b/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-adjust-srh.c index adc8dc414df..762ab411ef2 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-adjust-srh.c +++ b/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-adjust-srh.c @@ -10,9 +10,8 @@ foo () int ret; void *skb; uint32_t offset, delta; - - ret = bpf_lwt_seg6_adjust_srh (skb, offset, - delta); + + ret = bpf_lwt_seg6_adjust_srh (skb, offset, delta); } /* { dg-final { scan-assembler "call\t75" } } */ diff --git a/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-store-bytes.c b/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-store-bytes.c index a35e917d575..80a1f1205f0 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-store-bytes.c +++ b/gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-store-bytes.c @@ -10,7 +10,7 @@ foo () int ret; void *skb, *from; uint32_t offset, len; - + ret = bpf_lwt_seg6_store_bytes (skb, offset, from, len); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-msg-apply-bytes.c b/gcc/testsuite/gcc.target/bpf/helper-msg-apply-bytes.c index 9c8ef9d0c88..e72035cff7c 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-msg-apply-bytes.c +++ b/gcc/testsuite/gcc.target/bpf/helper-msg-apply-bytes.c @@ -10,7 +10,7 @@ foo () int ret; void *msg; uint32_t bytes; - + ret = bpf_msg_apply_bytes (msg, bytes); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-msg-cork-bytes.c b/gcc/testsuite/gcc.target/bpf/helper-msg-cork-bytes.c index 988a04dfb15..350c2bfa0e6 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-msg-cork-bytes.c +++ b/gcc/testsuite/gcc.target/bpf/helper-msg-cork-bytes.c @@ -10,7 +10,7 @@ foo () int ret; void *msg; uint32_t bytes; - + ret = bpf_msg_cork_bytes (msg, bytes); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-msg-pull-data.c b/gcc/testsuite/gcc.target/bpf/helper-msg-pull-data.c index 77141019a9a..98d343b0295 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-msg-pull-data.c +++ b/gcc/testsuite/gcc.target/bpf/helper-msg-pull-data.c @@ -10,7 +10,7 @@ foo () int ret; void *msg; int len; - + ret = bpf_msg_pull_data (msg, len); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-msg-redirect-map.c b/gcc/testsuite/gcc.target/bpf/helper-msg-redirect-map.c index ef69f111183..ed7652bfc90 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-msg-redirect-map.c +++ b/gcc/testsuite/gcc.target/bpf/helper-msg-redirect-map.c @@ -11,9 +11,8 @@ foo () void *msg, *map; uint64_t key; uint64_t flags; - - ret = bpf_msg_redirect_map (msg, map, key, - flags); + + ret = bpf_msg_redirect_map (msg, map, key, flags); } /* { dg-final { scan-assembler "call\t60" } } */ diff --git a/gcc/testsuite/gcc.target/bpf/helper-override-return.c b/gcc/testsuite/gcc.target/bpf/helper-override-return.c index 380fd59567d..50366861c1d 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-override-return.c +++ b/gcc/testsuite/gcc.target/bpf/helper-override-return.c @@ -10,7 +10,7 @@ foo () int ret; void *regs; uint64_t rc; - + ret = bpf_override_return (regs, rc); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-perf-event-read-value.c b/gcc/testsuite/gcc.target/bpf/helper-perf-event-read-value.c index 6692f649437..6e6184f4512 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-perf-event-read-value.c +++ b/gcc/testsuite/gcc.target/bpf/helper-perf-event-read-value.c @@ -11,7 +11,7 @@ foo () void *map, *buf; uint64_t flags; uint64_t buf_size; - + ret = bpf_perf_event_read_value (map, flags, buf, buf_size); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-perf-prog-read-value.c b/gcc/testsuite/gcc.target/bpf/helper-perf-prog-read-value.c index 7f0a8011ed2..341a541838d 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-perf-prog-read-value.c +++ b/gcc/testsuite/gcc.target/bpf/helper-perf-prog-read-value.c @@ -10,7 +10,7 @@ foo () int ret; void *ctx, *buf; uint64_t buf_size; - + ret = bpf_perf_prog_read_value (ctx, buf, buf_size); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-probe-read-str.c b/gcc/testsuite/gcc.target/bpf/helper-probe-read-str.c index 0774da42ad3..02d1a07cb4a 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-probe-read-str.c +++ b/gcc/testsuite/gcc.target/bpf/helper-probe-read-str.c @@ -11,7 +11,7 @@ foo () int size; void *dst; const void *unsafe_ptr; - + ret = bpf_probe_read_str (dst, size, unsafe_ptr); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-rc-keydown.c b/gcc/testsuite/gcc.target/bpf/helper-rc-keydown.c index c419ee06c5c..dd90423b14b 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-rc-keydown.c +++ b/gcc/testsuite/gcc.target/bpf/helper-rc-keydown.c @@ -11,9 +11,8 @@ foo () void *ctx; uint32_t protocol, toggle; uint64_t scancode; - - ret = bpf_rc_keydown (ctx, protocol, - scancode, toggle); + + ret = bpf_rc_keydown (ctx, protocol, scancode, toggle); } /* { dg-final { scan-assembler "call\t78" } } */ diff --git a/gcc/testsuite/gcc.target/bpf/helper-rc-repeat.c b/gcc/testsuite/gcc.target/bpf/helper-rc-repeat.c index 52d83e4a980..79d3b5c5fdf 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-rc-repeat.c +++ b/gcc/testsuite/gcc.target/bpf/helper-rc-repeat.c @@ -9,7 +9,7 @@ foo () { int ret; void *ctx; - + ret = bpf_rc_repeat (ctx); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-redirect-map.c b/gcc/testsuite/gcc.target/bpf/helper-redirect-map.c index 0d059778781..50b3e814893 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-redirect-map.c +++ b/gcc/testsuite/gcc.target/bpf/helper-redirect-map.c @@ -11,7 +11,7 @@ foo () void *map; uint32_t key; uint64_t flags; - + ret = bpf_redirect_map (map, key, flags); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-set-hash.c b/gcc/testsuite/gcc.target/bpf/helper-set-hash.c index a36cd6b56ec..cafe5399c7d 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-set-hash.c +++ b/gcc/testsuite/gcc.target/bpf/helper-set-hash.c @@ -10,7 +10,7 @@ foo () uint32_t ret; void *skb; uint32_t hash; - + ret = bpf_set_hash (skb, hash); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-setsockopt.c b/gcc/testsuite/gcc.target/bpf/helper-setsockopt.c index f79c2a86783..930b8b2f2a0 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-setsockopt.c +++ b/gcc/testsuite/gcc.target/bpf/helper-setsockopt.c @@ -13,7 +13,7 @@ foo () int optname; void *optval; int optlen; - + ret = bpf_setsockopt (bpf_socket, level, optname, optval, optlen); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-sk-lookup-tcp.c b/gcc/testsuite/gcc.target/bpf/helper-sk-lookup-tcp.c index 1adcc692068..9d48c4cecf7 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sk-lookup-tcp.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sk-lookup-tcp.c @@ -11,7 +11,7 @@ foo () void *ctx, *tuple; uint32_t tuple_size; uint64_t netns, flags; - + ret = bpf_sk_lookup_tcp (ctx, tuple, tuple_size, diff --git a/gcc/testsuite/gcc.target/bpf/helper-sk-lookup-upd.c b/gcc/testsuite/gcc.target/bpf/helper-sk-lookup-upd.c index 8bbd40bf387..f41fd327c83 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sk-lookup-upd.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sk-lookup-upd.c @@ -11,11 +11,11 @@ foo () void *ctx, *tuple; uint32_t tuple_size; uint64_t netns, flags; - + ret = bpf_sk_lookup_udp (ctx, - tuple, - tuple_size, - netns, flags); + tuple, + tuple_size, + netns, flags); } /* { dg-final { scan-assembler "call\t85" } } */ diff --git a/gcc/testsuite/gcc.target/bpf/helper-sk-redirect-map.c b/gcc/testsuite/gcc.target/bpf/helper-sk-redirect-map.c index 0ebb315d087..42aab8a954b 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sk-redirect-map.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sk-redirect-map.c @@ -11,7 +11,7 @@ foo () void *ctx, *map; uint32_t key; uint64_t flags; - + ret = bpf_sk_redirect_map (ctx, map, key, flags); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-sk-release.c b/gcc/testsuite/gcc.target/bpf/helper-sk-release.c index 620dbe9a2ba..b01412c751b 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sk-release.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sk-release.c @@ -9,7 +9,7 @@ foo () { int ret; void *sock; - + ret = bpf_sk_release (sock); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-sk-select-reuseport.c b/gcc/testsuite/gcc.target/bpf/helper-sk-select-reuseport.c index 0505fc95f66..b1a28020297 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sk-select-reuseport.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sk-select-reuseport.c @@ -10,9 +10,9 @@ foo () int ret; void *reuse, *map, *key; uint64_t flags; - + ret = bpf_sk_select_reuseport (reuse, map, - key, flags); + key, flags); } /* { dg-final { scan-assembler "call\t82" } } */ diff --git a/gcc/testsuite/gcc.target/bpf/helper-sk-storage-delete.c b/gcc/testsuite/gcc.target/bpf/helper-sk-storage-delete.c index a25421f0017..ea36a3d6a1c 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sk-storage-delete.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sk-storage-delete.c @@ -9,7 +9,7 @@ foo () { int ret; void *map, *sk; - + ret = bpf_sk_storage_delete (map, sk); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-sk-storage-get.c b/gcc/testsuite/gcc.target/bpf/helper-sk-storage-get.c index 6d047dd99f4..1ea0e7b12f7 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sk-storage-get.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sk-storage-get.c @@ -10,7 +10,7 @@ foo () void *ret; void *map, *sk, *value; uint64_t flags; - + ret = bpf_sk_storage_get (map, sk, value, flags); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-skb-adjust-room.c b/gcc/testsuite/gcc.target/bpf/helper-skb-adjust-room.c index 6b1eef9c8cf..3bce73fa852 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-skb-adjust-room.c +++ b/gcc/testsuite/gcc.target/bpf/helper-skb-adjust-room.c @@ -12,7 +12,7 @@ foo () int32_t len_diff; uint32_t mode; uint64_t flags; - + ret = bpf_skb_adjust_room (skb, len_diff, mode, flags); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-skb-cgroup-id.c b/gcc/testsuite/gcc.target/bpf/helper-skb-cgroup-id.c index 7ad08c17582..5085c756b9c 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-skb-cgroup-id.c +++ b/gcc/testsuite/gcc.target/bpf/helper-skb-cgroup-id.c @@ -9,7 +9,7 @@ foo () { uint64_t ret; void *skb; - + ret = bpf_skb_cgroup_id (skb); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-skb-change-head.c b/gcc/testsuite/gcc.target/bpf/helper-skb-change-head.c index f93cefab854..281104b6152 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-skb-change-head.c +++ b/gcc/testsuite/gcc.target/bpf/helper-skb-change-head.c @@ -11,7 +11,7 @@ foo () void *skb; uint32_t len; uint64_t flags; - + ret = bpf_skb_change_head (skb, len, flags); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-sock-map-update.c b/gcc/testsuite/gcc.target/bpf/helper-sock-map-update.c index fbb5d7556d4..b263583be45 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sock-map-update.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sock-map-update.c @@ -10,9 +10,8 @@ foo () int ret; void *skops, *map, *key; uint64_t flags; - - ret = bpf_sock_map_update (skops, map, key, - flags); + + ret = bpf_sock_map_update (skops, map, key, flags); } /* { dg-final { scan-assembler "call\t53" } } */ diff --git a/gcc/testsuite/gcc.target/bpf/helper-sock-ops-cb-flags-set.c b/gcc/testsuite/gcc.target/bpf/helper-sock-ops-cb-flags-set.c index 4efd69a5543..7a98fa9b92e 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sock-ops-cb-flags-set.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sock-ops-cb-flags-set.c @@ -10,9 +10,8 @@ foo () int ret; void *bpf_sock; int argval; - - ret = bpf_sock_ops_cb_flags_set (bpf_sock, - argval); + + ret = bpf_sock_ops_cb_flags_set (bpf_sock, argval); } /* { dg-final { scan-assembler "call\t59" } } */ diff --git a/gcc/testsuite/gcc.target/bpf/helper-strtol.c b/gcc/testsuite/gcc.target/bpf/helper-strtol.c index 53830126d45..d98a0a7c565 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-strtol.c +++ b/gcc/testsuite/gcc.target/bpf/helper-strtol.c @@ -13,7 +13,7 @@ foo () long res; uint64_t flags; size_t buf_len; - + ret = bpf_strtol (buf, buf_len, flags, &res); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-strtoul.c b/gcc/testsuite/gcc.target/bpf/helper-strtoul.c index f648a2bb54c..f68abf2f7d7 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-strtoul.c +++ b/gcc/testsuite/gcc.target/bpf/helper-strtoul.c @@ -13,7 +13,7 @@ foo () unsigned long res; uint64_t flags; size_t buf_len; - + ret = bpf_strtoul (buf, buf_len, flags, &res); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-current-value.c b/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-current-value.c index 55a31e4f55c..a1f6529f356 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-current-value.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-current-value.c @@ -11,7 +11,7 @@ foo () int ret; void *ctx, *buf; size_t buf_len; - + ret = bpf_sysctl_get_current_value (ctx, buf, buf_len); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-name.c b/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-name.c index bacb288c4a9..ca9c42ba6a8 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-name.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-name.c @@ -12,7 +12,7 @@ foo () void *ctx, *buf; size_t buf_len; uint64_t flags; - + ret = bpf_sysctl_get_name (ctx, buf, buf_len, flags); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-new-value.c b/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-new-value.c index 5ad36442280..d22b214d67b 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-new-value.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sysctl-get-new-value.c @@ -11,7 +11,7 @@ foo () int ret; void *ctx, *buf; size_t buf_len; - + ret = bpf_sysctl_get_new_value (ctx, buf, buf_len); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-sysctl-set-new-value.c b/gcc/testsuite/gcc.target/bpf/helper-sysctl-set-new-value.c index 2b3b3af6355..78004c252a9 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-sysctl-set-new-value.c +++ b/gcc/testsuite/gcc.target/bpf/helper-sysctl-set-new-value.c @@ -11,7 +11,7 @@ foo () int ret; void *ctx, *buf; size_t buf_len; - + ret = bpf_sysctl_set_new_value (ctx, buf, buf_len); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-tcp-check-syncookie.c b/gcc/testsuite/gcc.target/bpf/helper-tcp-check-syncookie.c index bada09f3546..06210bb2959 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-tcp-check-syncookie.c +++ b/gcc/testsuite/gcc.target/bpf/helper-tcp-check-syncookie.c @@ -10,7 +10,7 @@ foo () int ret; void *sk, *iph, *th; uint32_t iph_len, th_len; - + ret = bpf_tcp_check_syncookie (sk, iph, iph_len, th, th_len); diff --git a/gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-head.c b/gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-head.c index 352d9d68023..ac6fef43587 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-head.c +++ b/gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-head.c @@ -10,7 +10,7 @@ foo () int ret; void *xdp_md; int delta; - + ret = bpf_xdp_adjust_head (xdp_md, delta); } diff --git a/gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-meta.c b/gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-meta.c index ef5da4b10e2..13793508116 100644 --- a/gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-meta.c +++ b/gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-meta.c @@ -10,7 +10,7 @@ foo () int ret; void *xdp_md; int delta; - + ret = bpf_xdp_adjust_meta (xdp_md, delta); } diff --git a/gcc/testsuite/gcc.target/bpf/skb-ancestor-cgroup-id.c b/gcc/testsuite/gcc.target/bpf/skb-ancestor-cgroup-id.c index 8e88c93cac9..13ccf36b4d6 100644 --- a/gcc/testsuite/gcc.target/bpf/skb-ancestor-cgroup-id.c +++ b/gcc/testsuite/gcc.target/bpf/skb-ancestor-cgroup-id.c @@ -10,9 +10,8 @@ foo () int ret; void *skb; int ancestor_level; - - ret = bpf_skb_ancestor_cgroup_id (skb, - ancestor_level); + + ret = bpf_skb_ancestor_cgroup_id (skb, ancestor_level); } /* { dg-final { scan-assembler "call\t83" } } */