Skip to content
Commit 5d9a16b2 authored by Radek Krejci's avatar Radek Krejci Committed by Masahiro Yamada
Browse files

modpost: trim leading spaces when processing source files list

get_line() does not trim the leading spaces, but the
parse_source_files() expects to get lines with source files paths where
the first space occurs after the file path.

Fixes: 70f30cfe

 ("modpost: use read_text_file() and get_line() for reading text files")
Signed-off-by: default avatarRadek Krejci <radek.krejci@oracle.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent dae4a017
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment