All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 4/5] modpost: Changes parameter name to avoid shadowing.
@ 2018-10-23  1:10 Leonardo Brás
  0 siblings, 0 replies; only message in thread
From: Leonardo Brás @ 2018-10-23  1:10 UTC (permalink / raw)
  To: lkcamp
  Cc: Borislav Petkov, David.Laight, Andy Lutomirski, Ingo Molnar,
	helen, Masahiro Yamada, Michal Marek, linux-kbuild, linux-kernel

Changes the parameter name to avoid shadowing a variable.

Signed-off-by: Leonardo Brás <leobras.c@gmail.com>
---
 scripts/mod/modpost.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 0d998c54564d..368fe42340df 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -2228,13 +2228,13 @@ static int add_versions(struct buffer *b, struct module *mod)
 }
 
 static void add_depends(struct buffer *b, struct module *mod,
-			struct module *modules)
+			struct module *module_list)
 {
 	struct symbol *s;
 	struct module *m;
 	int first = 1;
 
-	for (m = modules; m; m = m->next)
+	for (m = module_list; m; m = m->next)
 		m->seen = is_vmlinux(m->name);
 
 	buf_printf(b, "\n");
-- 
2.19.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-23  9:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-23  1:10 [PATCH v2 4/5] modpost: Changes parameter name to avoid shadowing Leonardo Brás

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.