diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-05 14:05:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-05 14:05:38 +0200 |
commit | fa508451514df981fa0ffb36dc96121aefd18e18 (patch) | |
tree | 7279ee9acf8b451cac76104e1f85fcef65704e6b | |
parent | 0d699987ff6aa885c5192d96379d3c62c71b2282 (diff) | |
download | vulns-fa508451514df981fa0ffb36dc96121aefd18e18.tar.gz |
dyad: update some comments in functions
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rwxr-xr-x | scripts/dyad | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/dyad b/scripts/dyad index f1b859c7..7b1781db 100755 --- a/scripts/dyad +++ b/scripts/dyad @@ -78,6 +78,8 @@ help() # Does so with an initial "#" so it can be easily filtered out # arguments: # "message to print" +# assumes: +# DEBUG is defined to something ############################# dbg() { @@ -287,6 +289,8 @@ create_fixed_pair() # "stable kernel version" # returns: # "git id of commit in the stable branch" or "" if not found +# assumes: +# KERNEL_TREE points to a valid Linux stable git tree ############################# find_stable_git_id() { @@ -335,6 +339,8 @@ find_stable_git_id() # "kernel version" # returns: # "git id where the commit is in the kernel version" +# assumes: +# KERNEL_TREE points to a valid Linux stable git tree ############################# find_git_id() { @@ -358,6 +364,8 @@ find_git_id() # "git id" # returns # "full git id" if found, "" if not found +# assumes: +# KERNEL_TREE points to a valid Linux stable git tree ############################# git_full_id() { @@ -374,6 +382,8 @@ git_full_id() # "git id" # returns # "short git id" if found, "" if not found +# assumes: +# KERNEL_TREE points to a valid Linux stable git tree ############################# git_short_id() { |