[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180322150005.15061-1-linux@rasmusvillemoes.dk>
Date: Thu, 22 Mar 2018 15:59:53 +0100
From: Rasmus Villemoes <linux@...musvillemoes.dk>
To: Michal Marek <mmarek@...e.cz>,
Masahiro Yamada <yamada.m@...panasonic.com>
Cc: Rusty Russell <rusty@...tcorp.com.au>,
Sam Ravnborg <sam@...nborg.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH 1/2] modpost: delete stale comment
Commit (7840fea200cd "kbuild: Fix computing srcversion for modules")
fixed the comment above parse_source_files to refer to the new source_
line, but left this one behind that could still give the impression that
drivers/net/dummy.c appears in the deps_ variable.
Signed-off-by: Rasmus Villemoes <linux@...musvillemoes.dk>
---
scripts/mod/sumversion.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c
index 944418da9fe3..0f6dcb4011a8 100644
--- a/scripts/mod/sumversion.c
+++ b/scripts/mod/sumversion.c
@@ -330,14 +330,7 @@ static int parse_source_files(const char *objfile, struct md4_ctx *md)
goto out;
}
- /* There will be a line like so:
- deps_drivers/net/dummy.o := \
- drivers/net/dummy.c \
- $(wildcard include/config/net/fastroute.h) \
- include/linux/module.h \
-
- Sum all files in the same dir or subdirs.
- */
+ /* Sum all files in the same dir or subdirs. */
while ((line = get_next_line(&pos, file, flen)) != NULL) {
char* p = line;
--
2.15.1
Powered by blists - more mailing lists