File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -616,7 +616,7 @@ static void mark_reg_scratched(struct bpf_verifier_env *env, u32 regno)
616
616
617
617
static void mark_stack_slot_scratched (struct bpf_verifier_env * env , u32 spi )
618
618
{
619
- env -> scratched_stack_slots |= 1UL << spi ;
619
+ env -> scratched_stack_slots |= 1ULL << spi ;
620
620
}
621
621
622
622
static bool reg_scratched (const struct bpf_verifier_env * env , u32 regno )
@@ -637,14 +637,14 @@ static bool verifier_state_scratched(const struct bpf_verifier_env *env)
637
637
static void mark_verifier_state_clean (struct bpf_verifier_env * env )
638
638
{
639
639
env -> scratched_regs = 0U ;
640
- env -> scratched_stack_slots = 0UL ;
640
+ env -> scratched_stack_slots = 0ULL ;
641
641
}
642
642
643
643
/* Used for printing the entire verifier state. */
644
644
static void mark_verifier_state_scratched (struct bpf_verifier_env * env )
645
645
{
646
646
env -> scratched_regs = ~0U ;
647
- env -> scratched_stack_slots = ~0UL ;
647
+ env -> scratched_stack_slots = ~0ULL ;
648
648
}
649
649
650
650
/* The reg state of a pointer or a bounded scalar was saved when
You can’t perform that action at this time.
0 commit comments