| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
tools: ynl: Specify --no-line-number in ynl-regen.sh. stable inclusion from stable-v6.6.122 commit 4170ec351e456c133255c76e3e50731c34694d6d category: bugfix bugzilla: https://atomgit.com/openeuler/kernel/issues/9064 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4170ec351e456c133255c76e3e50731c34694d6d -------------------------------- [ Upstream commit 68578370f9b3a2aba5964b273312d51c581b6aad ] If grep.lineNumber is enabled in .gitconfig, [grep] lineNumber = true ynl-regen.sh fails with the following error: $ ./tools/net/ynl/ynl-regen.sh -f ... ynl_gen_c.py: error: argument --mode: invalid choice: '4:' (choose from user, kernel, uapi) GEN 4: net/ipv4/fou_nl.c Let's specify --no-line-number explicitly. Fixes: be5bea1cc0bf ("net: add basic C code generators for Netlink") Suggested-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20260115172533.693652-3-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org> (cherry picked from commit 4170ec351e456c133255c76e3e50731c34694d6d) Signed-off-by: Wentao Guan <guanwentao@uniontech.com> | 2 个月前 |