Re: [PATCH 1/3] modpost: refactor seen flag clearing in add_depends()

2018-12-01 Thread Masahiro Yamada
On Sat, Nov 24, 2018 at 5:08 PM Masahiro Yamada wrote: > > 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 ad

[PATCH 1/3] modpost: refactor seen flag clearing in add_depends()

2018-11-22 Thread Masahiro Yamada
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 --- scripts/mod/mod