Skip to content

Commit f24bae3

Browse files
authored
Merge pull request sched-ext#3010 from multics69/atq-pop-msg
lib/atq: Don't print an error message when -ENOENT at scx_atq_pop().
2 parents 52aa24b + 3c3bacd commit f24bae3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/atq.bpf.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ u64 scx_atq_pop(scx_atq_t *atq)
143143
arena_spin_unlock(&atq->lock);
144144

145145
if (ret) {
146-
bpf_printk("%s: error %d", __func__, ret);
146+
if (ret != -ENOENT)
147+
bpf_printk("%s: error %d", __func__, ret);
147148
return (u64)NULL;
148149
}
149150

0 commit comments

Comments
 (0)