aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test_bpf.c')
-rw-r--r--lib/test_bpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test_bpf.c b/lib/test_bpf.c
index 413890815d3e..23e070bcf72d 100644
--- a/lib/test_bpf.c
+++ b/lib/test_bpf.c
@@ -1738,7 +1738,7 @@ static struct bpf_test tests[] = {
1738 { 1738 {
1739 "load 64-bit immediate", 1739 "load 64-bit immediate",
1740 .u.insns_int = { 1740 .u.insns_int = {
1741 BPF_LD_IMM64(R1, 0x567800001234L), 1741 BPF_LD_IMM64(R1, 0x567800001234LL),
1742 BPF_MOV64_REG(R2, R1), 1742 BPF_MOV64_REG(R2, R1),
1743 BPF_MOV64_REG(R3, R2), 1743 BPF_MOV64_REG(R3, R2),
1744 BPF_ALU64_IMM(BPF_RSH, R2, 32), 1744 BPF_ALU64_IMM(BPF_RSH, R2, 32),
@@ -1894,7 +1894,7 @@ static int __run_one(const struct bpf_prog *fp, const void *data,
1894 int runs, u64 *duration) 1894 int runs, u64 *duration)
1895{ 1895{
1896 u64 start, finish; 1896 u64 start, finish;
1897 int ret, i; 1897 int ret = 0, i;
1898 1898
1899 start = ktime_to_us(ktime_get()); 1899 start = ktime_to_us(ktime_get());
1900 1900