mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Philip Li <philip.li@intel.com>
To: kernel test robot <lkp@intel.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>,
	<oe-kbuild-all@lists.linux.dev>, <linux-kernel@vger.kernel.org>,
	Kees Cook <keescook@chromium.org>
Subject: Re: scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts
Date: Sat, 4 Jan 2025 16:55:28 +0800	[thread overview]
Message-ID: <Z3j3gLrRE+I9MGf/@rli9-mobl> (raw)
In-Reply-To: <202501041653.ehAbBy13-lkp@intel.com>

On Sat, Jan 04, 2025 at 04:38:11PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   63676eefb7a026d04b51dcb7aaf54f358517a2ec
> commit: 1e860048c53ee77ee9870dcce94847a28544b753 gcc-plugins: simplify GCC plugin-dev capability test
> date:   4 years, 1 month ago
> config: i386-randconfig-002-20240720 (https://download.01.org/0day-ci/archive/20250104/202501041653.ehAbBy13-lkp@intel.com/config)
> compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250104/202501041653.ehAbBy13-lkp@intel.com/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202501041653.ehAbBy13-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):

Kindly ignore this report, this detected commit doesn't look like the first bad commit
that leads to the issue. Sorry about this.

> 
> >> scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
> >> scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
>    scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
> --
> >> scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
> >> scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
>    scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
>    scripts/extract-cert.c: In function 'display_openssl_errors':
>    scripts/extract-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>       46 |         while ((e = ERR_get_error_line(&file, &line))) {
>          |         ^~~~~
>    In file included from scripts/extract-cert.c:23:
>    /usr/include/openssl/err.h:423:15: note: declared here
>      423 | unsigned long ERR_get_error_line(const char **file, int *line);
>          |               ^~~~~~~~~~~~~~~~~~
>    scripts/extract-cert.c: In function 'drain_openssl_errors':
>    scripts/extract-cert.c:59:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>       59 |         while (ERR_get_error_line(&file, &line)) {}
>          |         ^~~~~
>    /usr/include/openssl/err.h:423:15: note: declared here
>      423 | unsigned long ERR_get_error_line(const char **file, int *line);
>          |               ^~~~~~~~~~~~~~~~~~
>    scripts/extract-cert.c: In function 'main':
>    scripts/extract-cert.c:124:17: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      124 |                 ENGINE_load_builtin_engines();
>          |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>    In file included from scripts/extract-cert.c:24:
>    /usr/include/openssl/engine.h:358:28: note: declared here
>      358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
>          |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>    scripts/extract-cert.c:126:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      126 |                 e = ENGINE_by_id("pkcs11");
>          |                 ^
>    /usr/include/openssl/engine.h:336:31: note: declared here
>      336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
>          |                               ^~~~~~~~~~~~
>    scripts/extract-cert.c:128:17: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      128 |                 if (ENGINE_init(e))
>          |                 ^~
>    /usr/include/openssl/engine.h:620:27: note: declared here
>      620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
>          |                           ^~~~~~~~~~~
>    scripts/extract-cert.c:133:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      133 |                         ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");
>          |                         ^~~
>    /usr/include/openssl/engine.h:479:5: note: declared here
>      479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
>          |     ^~~~~~~~~~~~~~~~~~~~~~
>    scripts/extract-cert.c:134:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      134 |                 ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);
>          |                 ^~~~~~~~~~~~~~~
>    /usr/include/openssl/engine.h:450:27: note: declared here
>      450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
>          |                           ^~~~~~~~~~~~~~~
>    scripts/sign-file.c: In function 'display_openssl_errors':
>    scripts/sign-file.c:89:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>       89 |         while ((e = ERR_get_error_line(&file, &line))) {
>          |         ^~~~~
>    In file included from scripts/sign-file.c:29:
>    /usr/include/openssl/err.h:423:15: note: declared here
>      423 | unsigned long ERR_get_error_line(const char **file, int *line);
>          |               ^~~~~~~~~~~~~~~~~~
>    scripts/sign-file.c: In function 'drain_openssl_errors':
>    scripts/sign-file.c:102:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      102 |         while (ERR_get_error_line(&file, &line)) {}
>          |         ^~~~~
>    /usr/include/openssl/err.h:423:15: note: declared here
>      423 | unsigned long ERR_get_error_line(const char **file, int *line);
>          |               ^~~~~~~~~~~~~~~~~~
>    scripts/sign-file.c: In function 'read_private_key':
>    scripts/sign-file.c:142:17: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      142 |                 ENGINE_load_builtin_engines();
>          |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>    In file included from scripts/sign-file.c:30:
>    /usr/include/openssl/engine.h:358:28: note: declared here
>      358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
>          |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>    scripts/sign-file.c:144:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      144 |                 e = ENGINE_by_id("pkcs11");
>          |                 ^
>    /usr/include/openssl/engine.h:336:31: note: declared here
>      336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
>          |                               ^~~~~~~~~~~~
>    scripts/sign-file.c:146:17: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      146 |                 if (ENGINE_init(e))
>          |                 ^~
>    /usr/include/openssl/engine.h:620:27: note: declared here
>      620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
>          |                           ^~~~~~~~~~~
>    scripts/sign-file.c:151:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      151 |                         ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0),
>          |                         ^~~
>    /usr/include/openssl/engine.h:479:5: note: declared here
>      479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
>          |     ^~~~~~~~~~~~~~~~~~~~~~
>    scripts/sign-file.c:153:17: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
>      153 |                 private_key = ENGINE_load_private_key(e, private_key_name,
>          |                 ^~~~~~~~~~~
>    /usr/include/openssl/engine.h:638:11: note: declared here
>      638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
>          |           ^~~~~~~~~~~~~~~~~~~~~~~
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
> 

  reply	other threads:[~2025-01-04  8:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-04  8:38 kernel test robot
2025-01-04  8:55 ` Philip Li [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-15  0:00 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z3j3gLrRE+I9MGf/@rli9-mobl \
    --to=philip.li@intel.com \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=masahiroy@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®