]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: bpf: move sub-register zero extension checks into subreg.c
authorJiong Wang <jiong.wang@netronome.com>
Wed, 29 May 2019 09:57:08 +0000 (10:57 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 29 May 2019 11:31:05 +0000 (13:31 +0200)
commit61bcdbebff9b00b95aab3939f8ced64b65235452
tree08d2ff6a3dc3dc9dc1fa2e8fa2d2b106982434ec
parent5fb194f9781899f5c1ebc345699f4fa82f040201
selftests: bpf: move sub-register zero extension checks into subreg.c

It is better to centralize all sub-register zero extension checks into an
independent file.

This patch takes the first step to move existing sub-register zero
extension checks into subreg.c.

Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/verifier/basic_instr.c
tools/testing/selftests/bpf/verifier/subreg.c [new file with mode: 0644]