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)
616616
617617static void mark_stack_slot_scratched (struct bpf_verifier_env * env , u32 spi )
618618{
619- env -> scratched_stack_slots |= 1UL << spi ;
619+ env -> scratched_stack_slots |= 1ULL << spi ;
620620}
621621
622622static 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)
637637static void mark_verifier_state_clean (struct bpf_verifier_env * env )
638638{
639639 env -> scratched_regs = 0U ;
640- env -> scratched_stack_slots = 0UL ;
640+ env -> scratched_stack_slots = 0ULL ;
641641}
642642
643643/* Used for printing the entire verifier state. */
644644static void mark_verifier_state_scratched (struct bpf_verifier_env * env )
645645{
646646 env -> scratched_regs = ~0U ;
647- env -> scratched_stack_slots = ~0UL ;
647+ env -> scratched_stack_slots = ~0ULL ;
648648}
649649
650650/* 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