commit | d2665ca8e3310d045b62397590ab54dc485e035e | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Fri Nov 23 16:57:21 2018 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Sat Dec 01 22:21:58 2018 +0900 |
tree | 700be1f04bbd9611daaae860ed06e74e6a1a7366 | |
parent | f880eea68fe593342fa6e09be9bb661f3c297aec [diff] |
modpost: refactor seen flag clearing in add_depends() You do not need to iterate over all modules for resetting ->seen flag because add_depends() is only interested in modules that export symbols referenced from the given 'mod'. This also avoids shadowing the 'modules' parameter of add_depends(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>