Skip to content
Commit c61c2768 authored by Mathieu Malaterre's avatar Mathieu Malaterre Committed by Daniel Borkmann
Browse files

bpf: Correctly annotate implicit fall through in bpf_base_func_proto



There is a plan to build the kernel with -Wimplicit-fallthrough and
this place in the code produced a warnings (W=1).

To preserve as much of the existing comment only change a ‘:’ into a ‘,’.
This is enough change, to match the regular expression expected by GCC.

This commit removes the following warning:

  net/core/filter.c:5310:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

Signed-off-by: default avatarMathieu Malaterre <malat@debian.org>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent c8dc7980
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment