Home
last modified time | relevance | path

Searched hist:"3 a9d624593c5ddc4c9aa5ceb437bbeb134d98b4e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/scripts/mod/
H A Dsumversion.cdiff 3a9d624593c5ddc4c9aa5ceb437bbeb134d98b4e Wed Feb 14 03:14:07 CST 2024 Radek Krejci <radek.krejci@oracle.com> modpost: trim leading spaces when processing source files list

[ Upstream commit 5d9a16b2a4d9e8fa028892ded43f6501bc2969e5 ]

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: 70f30cfe5b89 ("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>