summaryrefslogtreecommitdiff
path: root/crypto/keywrap.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-08-22 17:56:14 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2020-08-26 18:44:33 +0300
commitfc2cb22ec61c1a537337cd0eba458863564a0e1f (patch)
treee537e1a977a50cb758f4f0da81ba979e03b5650e /crypto/keywrap.c
parent6fca36f1d82ad5bc385187f0aed93bbaefaa2172 (diff)
downloadlinux-fc2cb22ec61c1a537337cd0eba458863564a0e1f.tar.xz
gen_compile_commands: move directory walk to a generator function
Currently, this script walks under the specified directory (default to the current directory), then parses all .cmd files found. Split it into a separate helper function because the next commit will add more helpers to pick up .cmd files associated with given file(s). There is no point to build and return a huge list at once. I used a generator so it works in the for-loop with less memory. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'crypto/keywrap.c')
0 files changed, 0 insertions, 0 deletions