diff options
author | 2020-10-31 23:10:28 +0300 | |
---|---|---|
committer | 2020-11-04 15:31:29 +0100 | |
commit | 076aa52e402185e1e347bf5c62c61c6388fce4c7 (patch) | |
tree | 1eba3e721f9aba874a49e23e923023deee146eaf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | module: avoid *goto*s in module_sig_check() (diff) | |
download | wireguard-linux-076aa52e402185e1e347bf5c62c61c6388fce4c7.tar.xz wireguard-linux-076aa52e402185e1e347bf5c62c61c6388fce4c7.zip |
module: only handle errors with the *switch* statement in module_sig_check()
Let's handle the successful call of mod_verify_sig() right after that call,
making the *switch* statement only handle the real errors, and then move
the comment from the first *case* before *switch* itself and the comment
before *default* after it. Fix the comment style, add article/comma/dash,
spell out "nomem" as "lack of memory" in these comments, while at it...
Suggested-by: Joe Perches <joe@perches.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions