From: Jose E. Marchesi Date: Fri, 7 Aug 2020 09:27:55 +0000 (+0200) Subject: bpf: remove trailing whitespaces from source files X-Git-Tag: upstream/12.2.0~14348 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e87c540fe43e29663140ed67b98ee437c25696bb;p=platform%2Fupstream%2Fgcc.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 3aa8644..41bb4fc 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 050383e..9e203be 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 865a527..ce3cbc6 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 7c991af..116f1bc 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 d9d42c1..598a9db 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 b0c0b74..6f55e51 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 1c28ef5..616342c 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 e2e421f..e6c5385 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 343f866..c1eaa2b 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 c4b3298..3f71b6b 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 c6d4769..c6d82cc 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 4cd7052..2fc7e48 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 adc8dc4..762ab41 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 a35e917..80a1f12 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 9c8ef9d..e72035c 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 988a04d..350c2bf 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 7714101..98d343b 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 ef69f11..ed7652b 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 380fd59..5036686 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 6692f64..6e6184f 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 7f0a801..341a541 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 0774da4..02d1a07 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 c419ee0..dd90423 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 52d83e4..79d3b5c 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 0d05977..50b3e81 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 a36cd6b..cafe539 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 f79c2a8..930b8b2 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 1adcc69..9d48c4c 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 8bbd40b..f41fd32 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 0ebb315..42aab8a 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 620dbe9..b01412c 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 0505fc9..b1a2802 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 a25421f..ea36a3d6 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 6d047dd..1ea0e7b 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 6b1eef9..3bce73f 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 7ad08c1..5085c75 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 f93cefa..281104b 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 fbb5d75..b263583 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 4efd69a..7a98fa9 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 5383012..d98a0a7 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 f648a2b..f68abf2 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 55a31e4..a1f6529 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 bacb288..ca9c42b 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 5ad3644..d22b214 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 2b3b3af..78004c2 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 bada09f..06210bb 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 352d9d6..ac6fef4 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 ef5da4b..1379350 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 8e88c93..13ccf36 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" } } */