-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
selftests/bpf: fix application of sizeof to pointer #4680
selftests/bpf: fix application of sizeof to pointer #4680
Conversation
Upstream branch: 2c8b09a |
a2b6898
to
144e0d4
Compare
Upstream branch: 2c8b09a |
264fcee
to
9293fbe
Compare
144e0d4
to
f6e803b
Compare
Upstream branch: 2c8b09a |
9293fbe
to
70b8b1d
Compare
f6e803b
to
a034f30
Compare
Upstream branch: fc39fb5 |
70b8b1d
to
610b190
Compare
a034f30
to
70d7319
Compare
Upstream branch: fc39fb5 |
610b190
to
571aeb0
Compare
70d7319
to
125061d
Compare
Upstream branch: fc39fb5 |
571aeb0
to
89e9211
Compare
125061d
to
4d44a3a
Compare
Upstream branch: 28eb75e |
89e9211
to
cc57404
Compare
4d44a3a
to
a3eb926
Compare
Upstream branch: 9f16d5e |
cc57404
to
a8dc085
Compare
a3eb926
to
6c87a52
Compare
Upstream branch: d00058e |
a8dc085
to
a9c7944
Compare
6c87a52
to
15273c9
Compare
Upstream branch: 6398ef9 |
sizeof when applied to a pointer typed expression gives the size of the pointer. tools/testing/selftests/bpf/progs/test_tunnel_kern.c:678:41-47: ERROR: application of sizeof to pointer The proper fix in this particular case is to code sizeof(*gopt) instead of sizeof(gopt). This issue was detected with the help of Coccinelle. Fixes: 5ddafcc ("selftests/bpf: Fix a few tests for GCC related warnings.") Signed-off-by: guanjing <[email protected]>
a9c7944
to
fb04c17
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=910806 expired. Closing PR. |
Pull request for series with
subject: selftests/bpf: fix application of sizeof to pointer
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=910806