aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/bpf/log.c')
-rw-r--r--kernel/bpf/log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/bpf/log.c b/kernel/bpf/log.c
index 5aebfc3051e3..4a858fdb6476 100644
--- a/kernel/bpf/log.c
+++ b/kernel/bpf/log.c
@@ -688,8 +688,7 @@ static void print_reg_state(struct bpf_verifier_env *env,
if (t == SCALAR_VALUE && reg->precise)
verbose(env, "P");
if (t == SCALAR_VALUE && tnum_is_const(reg->var_off)) {
- /* reg->off should be 0 for SCALAR_VALUE */
- verbose_snum(env, reg->var_off.value + reg->off);
+ verbose_snum(env, reg->var_off.value);
return;
}
txt?h=v0.99.9c&id=6d35cc76909512d386b503a3feb1b40c153c3195&follow=1'>Document hooks.Junio C Hamano6-2/+157 2005-09-02Mention post-update when we first talk about publishing a repository.Junio C Hamano1-0/+6 2005-09-02scripts: equality test '==' is not portable.Junio C Hamano3-9/+15 2005-09-02git-checkout-script: Remove unnecessary variable.Junio C Hamano1-1/+0 2005-09-02Fix automerge message.Junio C Hamano1-18/+33 2005-09-01[PATCH] Explain what went wrong on update-cache of new fileAmos Waterland1-2/+6 2005-09-01Add repository-layout document.Junio C Hamano4-14/+148 2005-08-31Use 'git status' now it can handle initial commit.Junio C Hamano1-25/+20 2005-08-31Fix git-status when HEAD is invalid.Junio C Hamano1-4/+16 2005-08-31Fix git-log-script when HEAD is invalid.Junio C Hamano1-2/+13 2005-08-31Add Pine 4.63 help from Daniel.Junio C Hamano1-0/+12 2005-08-30Update tutorial.Junio C Hamano1-291/+370 2005-08-30show-branch: make it work in a subdirectory.Junio C Hamano1-0/+2