Re: [PATCH 5.17 000/158] 5.17.10-rc1 review

From: Ronald Warsow
Date: Mon May 23 2022 - 15:28:03 EST


hallo Greg

5.17.10-rc1

compiles [1], boots and runs here on x86_64
(Intel i5-11400, Fedora 36)

Thanks

Tested-by: Ronald Warsow <rwarsow@xxxxxx


[1]

I see the following since switching to Fedora 36 Beta (~4 weeks ago) and
over the whole 5.17 series I compiled under it.

I thought it was Fedora *Beta* and the state of gcc
currently: gcc version 12.1.1 20220507 (Red Hat 12.1.1-1)


My assumption was wrong.

sorry !

===

CC /home/DATA/devel/linux-5.17.9/tools/objtool/elf.o
scripts/sign-file.c: In function ‘display_openssl_errors’:
CC /home/DATA/devel/linux-5.17.9/tools/objtool/objtool.o
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:411:15: note: declared here
411 | 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:411:15: note: declared here
411 | 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,
| ^~~~~~~~~~~~~~~~~~~~~~~
CC /home/DATA/devel/linux-5.17.9/tools/objtool/libstring.o

...


+.In file included from arch/x86/realmode/rm/../../boot/video-mode.c:16,
from arch/x86/realmode/rm/video-mode.c:1:
In function ‘rdfs8’,
inlined from ‘vga_recalc_vertical’ at
arch/x86/realmode/rm/../../boot/video-mode.c:123:14,
inlined from ‘set_mode’ at
arch/x86/realmode/rm/../../boot/video-mode.c:163:3:
arch/x86/realmode/rm/../../boot/boot.h:114:9: warning: array subscript 0
is outside array bounds of ‘u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds]
114 | asm volatile("movb %%fs:%1,%0" : "=q" (v) : "m" (*(u8
*)addr));
| ^~~
In function ‘rdfs8’,
inlined from ‘vga_recalc_vertical’ at
arch/x86/realmode/rm/../../boot/video-mode.c:124:29,
inlined from ‘set_mode’ at
arch/x86/realmode/rm/../../boot/video-mode.c:163:3:
arch/x86/realmode/rm/../../boot/boot.h:114:9: warning: array subscript 0
is outside array bounds of ‘u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds]
114 | asm volatile("movb %%fs:%1,%0" : "=q" (v) : "m" (*(u8
*)addr));
| ^~~
........... CC fs/quota/quota_tree.o

....

In function ‘rdfs16’,
inlined from ‘bios_probe’ at
arch/x86/realmode/rm/../../boot/video-bios.c:108:11,
inlined from ‘bios_probe’ at
arch/x86/realmode/rm/../../boot/video-bios.c:61:12:
arch/x86/realmode/rm/../../boot/boot.h:120:9: warning: array subscript 0
is outside array bounds of ‘u16[0]’ {aka ‘short unsigned int[]’}
[-Warray-bounds]
120 | asm volatile("movw %%fs:%1,%0" : "=r" (v) : "m" (*(u16
*)addr));
| ^~~
In function ‘rdfs8’,
inlined from ‘bios_probe’ at
arch/x86/realmode/rm/../../boot/video-bios.c:109:11,
inlined from ‘bios_probe’ at
arch/x86/realmode/rm/../../boot/video-bios.c:61:12:
arch/x86/realmode/rm/../../boot/boot.h:114:9: warning: array subscript 0
is outside array bounds of ‘u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds]
114 | asm volatile("movb %%fs:%1,%0" : "=q" (v) : "m" (*(u8
*)addr));
| ^~~
.+ CC fs/quota/netlink.o

....


certs/extract-cert.c: In function ‘display_openssl_errors’:
certs/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 certs/extract-cert.c:23:
/usr/include/openssl/err.h:411:15: note: declared here
411 | unsigned long ERR_get_error_line(const char **file, int *line);
| ^~~~~~~~~~~~~~~~~~
certs/extract-cert.c: In function ‘drain_openssl_errors’:
certs/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:411:15: note: declared here
411 | unsigned long ERR_get_error_line(const char **file, int *line);
| ^~~~~~~~~~~~~~~~~~
certs/extract-cert.c: In function ‘main’:
certs/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 certs/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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
certs/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);
| ^~~~~~~~~~~~
certs/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);
| ^~~~~~~~~~~
certs/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,
| ^~~~~~~~~~~~~~~~~~~~~~
certs/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,
| ^~~~~~~~~~~~~~~
CC arch/x86/kernel/cpu/proc.o

...


In file included from arch/x86/boot/a20.c:14:
In function ‘rdfs32’,
inlined from ‘a20_test’ at arch/x86/boot/a20.c:62:16:
arch/x86/boot/boot.h:126:9: warning: array subscript 0 is outside array
bounds of ‘u32[0]’ {aka ‘unsigned int[]’} [-Warray-bounds]
126 | asm volatile("movl %%fs:%1,%0" : "=r" (v) : "m" (*(u32
*)addr));
| ^~~
In function ‘wrfs32’,
inlined from ‘a20_test’ at arch/x86/boot/a20.c:65:3:
arch/x86/boot/boot.h:140:9: warning: array subscript 0 is outside array
bounds of ‘u32[0]’ {aka ‘unsigned int[]’} [-Warray-bounds]
140 | asm volatile("movl %1,%%fs:%0" : "+m" (*(u32 *)addr) :
"ri" (v));
| ^~~
arch/x86/boot/boot.h:140:9: warning: array subscript 0 is outside array
bounds of ‘u32[0]’ {aka ‘unsigned int[]’} [-Warray-bounds]
In function ‘rdgs32’,
inlined from ‘a20_test’ at arch/x86/boot/a20.c:67:8:
arch/x86/boot/boot.h:158:9: warning: array subscript 0 is outside array
bounds of ‘u32[0]’ {aka ‘unsigned int[]’} [-Warray-bounds]
158 | asm volatile("movl %%gs:%1,%0" : "=r" (v) : "m" (*(u32
*)addr));
| ^~~
In function ‘wrfs32’,
inlined from ‘a20_test’ at arch/x86/boot/a20.c:72:2:
arch/x86/boot/boot.h:140:9: warning: array subscript 0 is outside array
bounds of ‘u32[0]’ {aka ‘unsigned int[]’} [-Warray-bounds]
140 | asm volatile("movl %1,%%fs:%0" : "+m" (*(u32 *)addr) :
"ri" (v));
| ^~~
arch/x86/boot/boot.h:140:9: warning: array subscript 0 is outside array
bounds of ‘u32[0]’ {aka ‘unsigned int[]’} [-Warray-bounds]
CC arch/x86/boot/main.o
CC arch/x86/boot/memory.o
CC arch/x86/boot/pm.o
AS arch/x86/boot/pmjump.o
CC arch/x86/boot/printf.o
In function ‘copy_boot_params’,
inlined from ‘main’ at arch/x86/boot/main.c:137:2:
arch/x86/boot/main.c:42:19: warning: array subscript 0 is outside array
bounds of ‘const struct old_cmdline[0]’ [-Warray-bounds]
42 | oldcmd->cl_magic == OLD_CL_MAGIC) {
| ~~~~~~^~~~~~~~~~
arch/x86/boot/main.c:49:27: warning: array subscript 0 is outside array
bounds of ‘const struct old_cmdline[0]’ [-Warray-bounds]
49 | if (oldcmd->cl_offset <
boot_params.hdr.setup_move_size)
| ~~~~~~^~~~~~~~~~~
CC arch/x86/boot/regs.o
CC arch/x86/boot/string.o
CC arch/x86/boot/tty.o
CC arch/x86/boot/video.o
CC arch/x86/boot/video-mode.o
CC arch/x86/boot/version.o
CC arch/x86/boot/video-vga.o
In file included from arch/x86/boot/video.c:16:
In function ‘rdfs16’,
inlined from ‘store_mode_params.part.0’ at arch/x86/boot/video.c:83:14:
arch/x86/boot/boot.h:120:9: warning: array subscript 0 is outside array
bounds of ‘u16[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds]
120 | asm volatile("movw %%fs:%1,%0" : "=r" (v) : "m" (*(u16
*)addr));
| ^~~
In function ‘rdfs16’,
inlined from ‘store_mode_params.part.0’ at arch/x86/boot/video.c:86:6:
arch/x86/boot/boot.h:120:9: warning: array subscript 0 is outside array
bounds of ‘u16[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds]
120 | asm volatile("movw %%fs:%1,%0" : "=r" (v) : "m" (*(u16
*)addr));
| ^~~
In function ‘rdfs8’,
inlined from ‘store_mode_params.part.0’ at arch/x86/boot/video.c:87:38:
arch/x86/boot/boot.h:114:9: warning: array subscript 0 is outside array
bounds of ‘u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds]
114 | asm volatile("movb %%fs:%1,%0" : "=q" (v) : "m" (*(u8
*)addr));
| ^~~
CC arch/x86/boot/video-vesa.o
CC arch/x86/boot/video-bios.o
HOSTCC arch/x86/boot/tools/build
In file included from arch/x86/boot/video-mode.c:16:
In function ‘rdfs8’,
inlined from ‘vga_recalc_vertical’ at
arch/x86/boot/video-mode.c:123:14,
inlined from ‘set_mode’ at arch/x86/boot/video-mode.c:163:3:
arch/x86/boot/boot.h:114:9: warning: array subscript 0 is outside array
bounds of ‘u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds]
114 | asm volatile("movb %%fs:%1,%0" : "=q" (v) : "m" (*(u8
*)addr));
| ^~~
In function ‘rdfs8’,
inlined from ‘vga_recalc_vertical’ at
arch/x86/boot/video-mode.c:124:29,
inlined from ‘set_mode’ at arch/x86/boot/video-mode.c:163:3:
arch/x86/boot/boot.h:114:9: warning: array subscript 0 is outside array
bounds of ‘u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds]
114 | asm volatile("movb %%fs:%1,%0" : "=q" (v) : "m" (*(u8
*)addr));
| ^~~
In file included from arch/x86/boot/video-bios.c:16:
In function ‘rdfs16’,
inlined from ‘bios_probe’ at arch/x86/boot/video-bios.c:108:11:
arch/x86/boot/boot.h:120:9: warning: array subscript 0 is outside array
bounds of ‘u16[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds]
120 | asm volatile("movw %%fs:%1,%0" : "=r" (v) : "m" (*(u16
*)addr));
| ^~~
In function ‘rdfs8’,
inlined from ‘bios_probe’ at arch/x86/boot/video-bios.c:109:11:
arch/x86/boot/boot.h:114:9: warning: array subscript 0 is outside array
bounds of ‘u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds]
114 | asm volatile("movb %%fs:%1,%0" : "=q" (v) : "m" (*(u8
*)addr));
| ^~~
LDS arch/x86/boot/compressed/vmlinux.lds

====


Ronald