mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
modpost: trim leading spaces when processing source files list
[ Upstream commit5d9a16b2a4] 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:70f30cfe5b("modpost: use read_text_file() and get_line() for reading text files") Signed-off-by: Radek Krejci <radek.krejci@oracle.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
609c7c1cc9
commit
14bcdb288b
1 changed files with 6 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue