gcc-plugins: fix sancov_plugin for gcc-5
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Feb 2017 20:29:03 +0000 (21:29 +0100)
committerKees Cook <keescook@chromium.org>
Mon, 27 Feb 2017 22:10:10 +0000 (14:10 -0800)
commitdcc235279a52d49023d4f1af7c3ed468a97015ae
tree4766104c2b8dfcc8719255aabbee98ac09a49cab
parent5a45a4c5c3f5e36a03770deb102ca6ba256ff3d7
gcc-plugins: fix sancov_plugin for gcc-5

The name of the local variable was inadvertantly changed from
sancov_plugin_pass_info to sancov_pass_info:

scripts/gcc-plugins/sancov_plugin.c: In function ‘int plugin_init(plugin_name_args*, plugin_gcc_version*)’:
scripts/gcc-plugins/sancov_plugin.c:136:67: error: ‘sancov_plugin_pass_info’ was not declared in this scope

This changes the conditional reference to this variable as well.

Fixes: 5a45a4c5c3f5 ("gcc-plugins: consolidate on PASS_INFO macro")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
scripts/gcc-plugins/sancov_plugin.c