aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-02-17 10:45:25 +0300
committerDaniel Borkmann <[email protected]>2021-02-22 18:03:11 +0100
commit33ccec5fd740d0d5b78b77846f76eb5b4feb4327 (patch)
tree2d7166d78701e201861a45c1892d840cc1ddfe4d /scripts/gdb/linux/tasks.py
parentb29dd96b905f3dd543f4ca729447286adf934dd6 (diff)
bpf: Fix a warning message in mark_ptr_not_null_reg()
The WARN_ON() argument is a condition, not an error message. So this code will print a stack trace but will not print the warning message. Fix that and also change it to only WARN_ONCE(). Fixes: 4ddb74165ae5 ("bpf: Extract nullable reg type conversion into a helper function") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/YCzJlV3hnF%2Ft1Pk4@mwanda
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions