提交 5169192b 编写于 作者: B Benjamin Poirier 提交者: Steven Rostedt

localmodconfig: Add missing $ to reference a variable

That is clearly what the original intention was. This does not change the
output .config but it prevents some useless processing.

! eq "m" is changed to the simpler eq "y"; symbols with values other than
m|y are not included in %orig_configs.

Link: http://lkml.kernel.org/r/1460333193-16361-3-git-send-email-bpoirier@suse.comSigned-off-by: NBenjamin Poirier <bpoirier@suse.com>
Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
上级 a77ed525
......@@ -454,7 +454,7 @@ sub parse_config_depends
$p =~ s/^[^$valid]*[$valid]+//;
# We only need to process if the depend config is a module
if (!defined($orig_configs{$conf}) || !$orig_configs{conf} eq "m") {
if (!defined($orig_configs{$conf}) || $orig_configs{$conf} eq "y") {
next;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册