Re: Build regressions/improvements in v4.17-rc3

2018-05-02 Thread Geert Uytterhoeven
On Tue, May 1, 2018 at 8:14 PM, Geert Uytterhoeven  wrote:
> JFYI, when comparing v4.17-rc3[1] to v4.17-rc2[3], the summaries are:
>   - build errors: +3/-0

  + error: core.c: undefined reference to `of_find_regulator_by_node':
 => .text+0xa4d)

i386-randconfig

More context:
drivers/regulator/core.o: In function `regulator_dev_lookup':

> [1] 
> http://kisskb.ellerman.id.au/kisskb/head/6da6c0db5316275015e8cc2959f12a17584aeb64/
>  (244 out of 246 configs)
> [3] 
> http://kisskb.ellerman.id.au/kisskb/head/6d08b06e67cd117f6992c46611dfb4ce267cd71e/
>  (244 out of 246 configs)

Gr{oetje,eeting}s,

Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Build regressions/improvements in v4.17-rc3

2018-05-01 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in
v4.17-rc3[1] compared to v4.16[2].

Summarized:
  - build errors: +5/-10
  - build warnings: +1255/-1608

JFYI, when comparing v4.17-rc3[1] to v4.17-rc2[3], the summaries are:
  - build errors: +3/-0
  - build warnings: +554/-455

Note that there may be false regressions, as some logs are incomplete.
Still, they're build errors/warnings.

Happy fixing! ;-)

Thanks to the linux-next team for providing the build service.

[1] 
http://kisskb.ellerman.id.au/kisskb/head/6da6c0db5316275015e8cc2959f12a17584aeb64/
 (244 out of 246 configs)
[2] 
http://kisskb.ellerman.id.au/kisskb/head/0adb32858b0bddf4ada5f364a84ed60b196dbcda/
 (all 246 configs)
[3] 
http://kisskb.ellerman.id.au/kisskb/head/6d08b06e67cd117f6992c46611dfb4ce267cd71e/
 (244 out of 246 configs)


*** ERRORS ***

5 error regressions:
  + /kisskb/src/arch/sh/kernel/setup.c: error: implicit declaration of function 
'early_init_dt_scan' [-Werror=implicit-function-declaration]:  => 261:2
  + /kisskb/src/arch/sh/mm/cache-sh4.c: error: 'cached_to_uncached' undeclared 
(first use in this function):  => 99:17
  + /kisskb/src/arch/sh/mm/cache-sh4.c: error: implicit declaration of function 
'cpu_context' [-Werror=implicit-function-declaration]:  => 192:2
  + /kisskb/src/include/linux/thread_info.h: error: call to '__bad_copy_from' 
declared with attribute error: copy source size is too small:  => 134:19
  + error: core.c: undefined reference to `of_find_regulator_by_node':  => 
.text+0xa4d)

10 error improvements:
  - /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_ethtool.c: error: implicit 
declaration of function 'cmpxchg64' [-Werror=implicit-function-declaration]: 
4443:6, 4443:2 => 
  - /kisskb/src/net/sched/sch_dsmark.c: error: unrecognizable insn:: 325:1 => 
  - error: "mdesc_get_property" [drivers/sbus/char/oradax.ko] undefined!: N/A 
=> 
  - error: "mdesc_grab" [drivers/sbus/char/oradax.ko] undefined!: N/A => 
  - error: "mdesc_node_by_name" [drivers/sbus/char/oradax.ko] undefined!: N/A 
=> 
  - error: "mdesc_release" [drivers/sbus/char/oradax.ko] undefined!: N/A => 
  - error: "sun4v_ccb_info" [drivers/sbus/char/oradax.ko] undefined!: N/A => 
  - error: "sun4v_ccb_kill" [drivers/sbus/char/oradax.ko] undefined!: N/A => 
  - error: "sun4v_ccb_submit" [drivers/sbus/char/oradax.ko] undefined!: N/A => 
  - error: "sun4v_hvapi_register" [drivers/sbus/char/oradax.ko] undefined!: N/A 
=> 


*** WARNINGS ***

[Deleted 687 lines about "warning: ... [-Wpointer-sign]" on parisc-allmodconfig]
[Deleted 1191 lines about "warning: -ffunction-sections disabled; it makes 
profiling impossible [enabled by default]" on parisc-allmodconfig]

1255 warning regressions:
  + /kisskb/src/arch/s390/kernel/early.c: warning: 'memmove_early' defined but 
not used [-Wunused-function]:  => 313:20
  + /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Warning: 
overflow in branch to syscall_call; converted into longer instruction sequence: 
 => 208
  + /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Warning: 
overflow in branch to syscall_trace_entry; converted into longer instruction 
sequence:  => 358, 356
  + /kisskb/src/crypto/cfb.c: warning: 'crypto_cfb_decrypt_inplace' uses 
dynamic stack allocation [enabled by default]:  => 179:1
  + /kisskb/src/crypto/cfb.c: warning: 'crypto_cfb_encrypt_inplace' uses 
dynamic stack allocation [enabled by default]:  => 110:1
  + /kisskb/src/crypto/cfb.c: warning: 'crypto_cfb_final' uses dynamic stack 
allocation [enabled by default]:  => 67:1
  + /kisskb/src/drivers/base/regmap/regmap.c: warning: 'ret' may be used 
uninitialized in this function [-Wuninitialized]: 2530:6 => 2497:6, 1819:6
  + /kisskb/src/drivers/clk/clk-cs2000-cp.c: warning: 'cs2000_resume' defined 
but not used [-Wunused-function]:  => 544:12
  + /kisskb/src/drivers/crypto/atmel-sha.c: warning: 'keylen' may be used 
uninitialized in this function [-Wuninitialized]:  => 1805:8
  + /kisskb/src/drivers/crypto/ccree/cc_cipher.c: warning: 'cc_cipher_setkey' 
uses dynamic stack allocation [enabled by default]:  => 347:1
  + /kisskb/src/drivers/crypto/chelsio/chtls/chtls_cm.c: warning: 
'wait_for_states.constprop.22' uses dynamic stack allocation [enabled by 
default]:  => 405:1
  + /kisskb/src/drivers/gpio/gpiolib.c: warning: 'flags' may be used 
uninitialized in this function [-Wuninitialized]:  => 3810:21
  + /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c: 
warning: the frame size of 1032 bytes is larger than 1024 bytes 
[-Wframe-larger-than=]:  => 2017:1
  + /kisskb/src/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c: warning: 'ret' may be 
used uninitialized in this function [-Wuninitialized]:  => 414:5
  + /kisskb/src/drivers/gpu/drm/drm_dp_dual_mode_helper.c: warning: format 
'%zd' expects argument of type 'signed size_t', but argument 4 has type 
'ssize_t {aka int}' [-Wformat=]:  => 220:16
  + /kisskb/src/drivers/gpu/drm/drm_dp_helper.c: warning: format '%zu' expec