Skip to content

Commit

Permalink
modpost: delete stale comment
Browse files Browse the repository at this point in the history
Commit 7840fea ("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 <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
Villemoes authored and masahir0y committed May 2, 2018
1 parent 6da6c0d commit 9fc3476
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions scripts/mod/sumversion.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9fc3476

Please sign in to comment.