[PATCH openEuler-22.09 v3 108/391] selftests/bpf: Fix a compiler warning in global func test