[driver-core:class_cleanup 33/42] drivers/bus/fsl-mc/fsl-mc-bus.c:412:5: error: initializing 'struct device_type *' with an expression of type 'typeof (fsl_mc_bus_dpsw_type) *' (aka 'const struct devi

2024-09-04 Thread kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
class_cleanup
head:   95b7bd9f5490de7ff7cfb0c4137a3c22cf3de1bf
commit: c191af695e7dd0aac49c5b70e0bdfd0cfaac5a24 [33/42] bus: fsl-mc: constify 
the struct device_type usage
config: x86_64-allyesconfig 
(https://download.01.org/0day-ci/archive/20240904/202409041701.8nfsrama-...@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 
617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20240904/202409041701.8nfsrama-...@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 
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202409041701.8nfsrama-...@intel.com/

All errors (new ones prefixed by >>):

   drivers/bus/fsl-mc/fsl-mc-bus.c:409:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dprc_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 409 | { &fsl_mc_bus_dprc_type, "dprc" },
 |   ^
   drivers/bus/fsl-mc/fsl-mc-bus.c:410:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dpni_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 410 | { &fsl_mc_bus_dpni_type, "dpni" },
 |   ^
   drivers/bus/fsl-mc/fsl-mc-bus.c:411:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dpio_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 411 | { &fsl_mc_bus_dpio_type, "dpio" },
 |   ^
>> drivers/bus/fsl-mc/fsl-mc-bus.c:412:5: error: initializing 'struct 
>> device_type *' with an expression of type 'typeof (fsl_mc_bus_dpsw_type) *' 
>> (aka 'const struct device_type *') discards qualifiers 
>> [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 412 | { &fsl_mc_bus_dpsw_type, "dpsw" },
 |   ^
>> drivers/bus/fsl-mc/fsl-mc-bus.c:413:5: error: initializing 'struct 
>> device_type *' with an expression of type 'typeof (fsl_mc_bus_dpbp_type) *' 
>> (aka 'const struct device_type *') discards qualifiers 
>> [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 413 | { &fsl_mc_bus_dpbp_type, "dpbp" },
 |   ^
>> drivers/bus/fsl-mc/fsl-mc-bus.c:414:5: error: initializing 'struct 
>> device_type *' with an expression of type 'typeof (fsl_mc_bus_dpcon_type) *' 
>> (aka 'const struct device_type *') discards qualifiers 
>> [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 414 | { &fsl_mc_bus_dpcon_type, "dpcon" },
 |   ^~
>> drivers/bus/fsl-mc/fsl-mc-bus.c:415:5: error: initializing 'struct 
>> device_type *' with an expression of type 'typeof (fsl_mc_bus_dpmcp_type) *' 
>> (aka 'const struct device_type *') discards qualifiers 
>> [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 415 | { &fsl_mc_bus_dpmcp_type, "dpmcp" },
 |   ^~
   drivers/bus/fsl-mc/fsl-mc-bus.c:416:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dpmac_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 416 | { &fsl_mc_bus_dpmac_type, "dpmac" },
 |   ^~
   drivers/bus/fsl-mc/fsl-mc-bus.c:417:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dprtc_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 417 | { &fsl_mc_bus_dprtc_type, "dprtc" },
 |   ^~
   drivers/bus/fsl-mc/fsl-mc-bus.c:418:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus

[driver-core:const_work] BUILD SUCCESS 5cbf546e827388f992254ad1b5cd8ec56816dbd0

2024-09-04 Thread kernel test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
const_work
branch HEAD: 5cbf546e827388f992254ad1b5cd8ec56816dbd0  misc: c2port: core: make 
c2port_class a static const structure

elapsed time: 1369m

configs tested: 114
configs skipped: 4

The following configs have been built successfully.
More configs may be tested in the coming days.

tested configs:
alpha allnoconfig   gcc-14.1.0
alphaallyesconfig   clang-20
alpha   defconfig   gcc-14.1.0
arc  allmodconfig   clang-20
arc   allnoconfig   gcc-14.1.0
arc  allyesconfig   clang-20
arc defconfig   gcc-14.1.0
arm  allmodconfig   clang-20
arm   allnoconfig   gcc-14.1.0
arm  allyesconfig   clang-20
arm defconfig   gcc-14.1.0
armneponset_defconfig   gcc-14.1.0
arm socfpga_defconfig   gcc-14.1.0
arm64allmodconfig   clang-20
arm64 allnoconfig   gcc-14.1.0
arm64   defconfig   gcc-14.1.0
csky alldefconfig   gcc-14.1.0
csky  allnoconfig   gcc-14.1.0
cskydefconfig   gcc-14.1.0
hexagon  allmodconfig   clang-20
hexagon   allnoconfig   gcc-14.1.0
hexagon  allyesconfig   clang-20
hexagon defconfig   gcc-14.1.0
i386 allmodconfig   clang-18
i386 allmodconfig   gcc-12
i386  allnoconfig   clang-18
i386  allnoconfig   gcc-12
i386 allyesconfig   clang-18
i386 allyesconfig   gcc-12
i386 buildonly-randconfig-001-20240904   gcc-12
i386 buildonly-randconfig-002-20240904   gcc-12
i386 buildonly-randconfig-003-20240904   gcc-12
i386 buildonly-randconfig-004-20240904   gcc-12
i386 buildonly-randconfig-005-20240904   gcc-12
i386 buildonly-randconfig-006-20240904   gcc-12
i386defconfig   clang-18
i386  randconfig-001-20240904   gcc-12
i386  randconfig-002-20240904   gcc-12
i386  randconfig-004-20240904   gcc-12
i386  randconfig-005-20240904   gcc-12
i386  randconfig-006-20240904   gcc-12
i386  randconfig-011-20240904   gcc-12
i386  randconfig-012-20240904   gcc-12
i386  randconfig-013-20240904   gcc-12
i386  randconfig-014-20240904   gcc-12
i386  randconfig-015-20240904   gcc-12
i386  randconfig-016-20240904   gcc-12
loongarchallmodconfig   gcc-14.1.0
loongarch allnoconfig   gcc-14.1.0
loongarch   defconfig   gcc-14.1.0
m68k allmodconfig   gcc-14.1.0
m68k  allnoconfig   gcc-14.1.0
m68k allyesconfig   gcc-14.1.0
m68kdefconfig   gcc-14.1.0
m68k  multi_defconfig   gcc-14.1.0
microblaze   allmodconfig   gcc-14.1.0
microblazeallnoconfig   gcc-14.1.0
microblaze   allyesconfig   gcc-14.1.0
microblaze  defconfig   gcc-14.1.0
mips  allnoconfig   gcc-14.1.0
mips   gcw0_defconfig   gcc-14.1.0
mips   ip28_defconfig   gcc-14.1.0
mips   jazz_defconfig   gcc-14.1.0
nios2 allnoconfig   gcc-14.1.0
nios2   defconfig   gcc-14.1.0
openrisc  allnoconfig   clang-20
openrisc allyesconfig   gcc-14.1.0
openriscdefconfig   gcc-12
openrisc simple_smp_defconfig   gcc-14.1.0
parisc   allmodconfig   gcc-14.1.0
pariscallnoconfig   clang-20
parisc   allyesconfig   gcc-14.1.0
parisc  defconfig   gcc-12
parisc64defconfig   gcc-14.1.0
powerpc akebono_defconfig   gcc-14.1.0
powerpc  allmodconfig   gcc-14.1.0
powerpc   allnoconfig   clang-20
powerpc  allyesconfig   gcc-14.1.0
powerpc  ep88xc_defconfig   gcc-14.1.0
powerpc  g5_defconfig   gcc

[driver-core:class_cleanup] BUILD REGRESSION 95b7bd9f5490de7ff7cfb0c4137a3c22cf3de1bf

2024-09-04 Thread kernel test robot
drivers-bus-fsl-mc-fsl-mc-bus.c:error:initializing-struct-device_type-with-an-expression-of-type-typeof-(fsl_mc_bus_dpcon_type)-(aka-const-struct-device_type-)-discards-qualifiers-Werror-Wincompatible
|-- 
drivers-bus-fsl-mc-fsl-mc-bus.c:error:initializing-struct-device_type-with-an-expression-of-type-typeof-(fsl_mc_bus_dpdmai_type)-(aka-const-struct-device_type-)-discards-qualifiers-Werror-Wincompatibl
|-- 
drivers-bus-fsl-mc-fsl-mc-bus.c:error:initializing-struct-device_type-with-an-expression-of-type-typeof-(fsl_mc_bus_dpdmux_type)-(aka-const-struct-device_type-)-discards-qualifiers-Werror-Wincompatibl
|-- 
drivers-bus-fsl-mc-fsl-mc-bus.c:error:initializing-struct-device_type-with-an-expression-of-type-typeof-(fsl_mc_bus_dpmcp_type)-(aka-const-struct-device_type-)-discards-qualifiers-Werror-Wincompatible
`-- 
drivers-bus-fsl-mc-fsl-mc-bus.c:error:initializing-struct-device_type-with-an-expression-of-type-typeof-(fsl_mc_bus_dpsw_type)-(aka-const-struct-device_type-)-discards-qualifiers-Werror-Wincompatible-

elapsed time: 1369m

configs tested: 114
configs skipped: 4

tested configs:
alpha allnoconfig   gcc-14.1.0
alphaallyesconfig   clang-20
alpha   defconfig   gcc-14.1.0
arc  allmodconfig   clang-20
arc   allnoconfig   gcc-14.1.0
arc  allyesconfig   clang-20
arc defconfig   gcc-14.1.0
arm  allmodconfig   clang-20
arm   allnoconfig   gcc-14.1.0
arm  allyesconfig   clang-20
arm defconfig   gcc-14.1.0
armneponset_defconfig   gcc-14.1.0
arm socfpga_defconfig   gcc-14.1.0
arm64allmodconfig   clang-20
arm64 allnoconfig   gcc-14.1.0
arm64   defconfig   gcc-14.1.0
csky alldefconfig   gcc-14.1.0
csky  allnoconfig   gcc-14.1.0
cskydefconfig   gcc-14.1.0
hexagon  allmodconfig   clang-20
hexagon   allnoconfig   gcc-14.1.0
hexagon  allyesconfig   clang-20
hexagon defconfig   gcc-14.1.0
i386 allmodconfig   clang-18
i386 allmodconfig   gcc-12
i386  allnoconfig   clang-18
i386  allnoconfig   gcc-12
i386     allyesconfig   clang-18
i386 allyesconfig   gcc-12
i386 buildonly-randconfig-001-20240904   gcc-12
i386 buildonly-randconfig-002-20240904   gcc-12
i386 buildonly-randconfig-003-20240904   gcc-12
i386 buildonly-randconfig-004-20240904   gcc-12
i386 buildonly-randconfig-005-20240904   gcc-12
i386 buildonly-randconfig-006-20240904   gcc-12
i386defconfig   clang-18
i386  randconfig-001-20240904   gcc-12
i386  randconfig-002-20240904   gcc-12
i386  randconfig-004-20240904   gcc-12
i386  randconfig-005-20240904   gcc-12
i386  randconfig-006-20240904   gcc-12
i386  randconfig-011-20240904   gcc-12
i386  randconfig-012-20240904   gcc-12
i386  randconfig-013-20240904   gcc-12
i386  randconfig-014-20240904   gcc-12
i386  randconfig-015-20240904   gcc-12
i386  randconfig-016-20240904   gcc-12
loongarchallmodconfig   gcc-14.1.0
loongarch allnoconfig   gcc-14.1.0
loongarch   defconfig   gcc-14.1.0
m68k allmodconfig   gcc-14.1.0
m68k  allnoconfig   gcc-14.1.0
m68k allyesconfig   gcc-14.1.0
m68kdefconfig   gcc-14.1.0
m68k  multi_defconfig   gcc-14.1.0
microblaze   allmodconfig   gcc-14.1.0
microblazeallnoconfig   gcc-14.1.0
microblaze   allyesconfig   gcc-14.1.0
microblaze  defconfig   gcc-14.1.0
mips  allnoconfig   gcc-14.1.0
mips   gcw0_defconfig   gcc-14.1.0
mips   ip28_defconfig   gcc-14.1.0
mips   jazz_defconfig   gcc-14.1.0
nios2 allnoconfig   gcc-14.1.0
nios2   defconfig   gcc-14.1.0
openrisc  allnoconfig   clang-20
openrisc allyesconfig   gcc-14.1.0

[driver-core:const_driver] BUILD SUCCESS 2d49d7a671eb8fdfc5c475b9576eb938b351ff8b

2024-09-04 Thread kernel test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
const_driver
branch HEAD: 2d49d7a671eb8fdfc5c475b9576eb938b351ff8b  USB: move dynamic ids 
out of usb driver structures

elapsed time: 1377m

configs tested: 114
configs skipped: 4

The following configs have been built successfully.
More configs may be tested in the coming days.

tested configs:
alpha allnoconfig   gcc-14.1.0
alphaallyesconfig   clang-20
alpha   defconfig   gcc-14.1.0
arc  allmodconfig   clang-20
arc   allnoconfig   gcc-14.1.0
arc  allyesconfig   clang-20
arc defconfig   gcc-14.1.0
arm  allmodconfig   clang-20
arm   allnoconfig   gcc-14.1.0
arm  allyesconfig   clang-20
arm defconfig   gcc-14.1.0
armneponset_defconfig   gcc-14.1.0
arm socfpga_defconfig   gcc-14.1.0
arm64allmodconfig   clang-20
arm64 allnoconfig   gcc-14.1.0
arm64   defconfig   gcc-14.1.0
csky alldefconfig   gcc-14.1.0
csky  allnoconfig   gcc-14.1.0
cskydefconfig   gcc-14.1.0
hexagon  allmodconfig   clang-20
hexagon   allnoconfig   gcc-14.1.0
hexagon  allyesconfig   clang-20
hexagon defconfig   gcc-14.1.0
i386 allmodconfig   clang-18
i386 allmodconfig   gcc-12
i386  allnoconfig   clang-18
i386  allnoconfig   gcc-12
i386 allyesconfig   clang-18
i386 allyesconfig   gcc-12
i386 buildonly-randconfig-001-20240904   gcc-12
i386 buildonly-randconfig-002-20240904   gcc-12
i386 buildonly-randconfig-003-20240904   gcc-12
i386 buildonly-randconfig-004-20240904   gcc-12
i386 buildonly-randconfig-005-20240904   gcc-12
i386 buildonly-randconfig-006-20240904   gcc-12
i386defconfig   clang-18
i386  randconfig-001-20240904   gcc-12
i386  randconfig-002-20240904   gcc-12
i386  randconfig-004-20240904   gcc-12
i386  randconfig-005-20240904   gcc-12
i386  randconfig-006-20240904   gcc-12
i386  randconfig-011-20240904   gcc-12
i386  randconfig-012-20240904   gcc-12
i386  randconfig-013-20240904   gcc-12
i386  randconfig-014-20240904   gcc-12
i386  randconfig-015-20240904   gcc-12
i386  randconfig-016-20240904   gcc-12
loongarchallmodconfig   gcc-14.1.0
loongarch allnoconfig   gcc-14.1.0
loongarch   defconfig   gcc-14.1.0
m68k allmodconfig   gcc-14.1.0
m68k  allnoconfig   gcc-14.1.0
m68k allyesconfig   gcc-14.1.0
m68kdefconfig   gcc-14.1.0
m68k  multi_defconfig   gcc-14.1.0
microblaze   allmodconfig   gcc-14.1.0
microblazeallnoconfig   gcc-14.1.0
microblaze   allyesconfig   gcc-14.1.0
microblaze  defconfig   gcc-14.1.0
mips  allnoconfig   gcc-14.1.0
mips   gcw0_defconfig   gcc-14.1.0
mips   ip28_defconfig   gcc-14.1.0
mips   jazz_defconfig   gcc-14.1.0
nios2 allnoconfig   gcc-14.1.0
nios2   defconfig   gcc-14.1.0
openrisc  allnoconfig   clang-20
openrisc allyesconfig   gcc-14.1.0
openriscdefconfig   gcc-12
openrisc simple_smp_defconfig   gcc-14.1.0
parisc   allmodconfig   gcc-14.1.0
pariscallnoconfig   clang-20
parisc   allyesconfig   gcc-14.1.0
parisc  defconfig   gcc-12
parisc64defconfig   gcc-14.1.0
powerpc akebono_defconfig   gcc-14.1.0
powerpc  allmodconfig   gcc-14.1.0
powerpc   allnoconfig   clang-20
powerpc  allyesconfig   gcc-14.1.0
powerpc  ep88xc_defconfig   gcc-14.1.0
powerpc  g5_defconfig   gcc-14.1.0

[driver-core:gregkh-rust] BUILD SUCCESS b59e2987a191d705486df075944400466341cac7

2024-09-04 Thread kernel test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
gregkh-rust
branch HEAD: b59e2987a191d705486df075944400466341cac7  gregkh_hack.rs

elapsed time: 1232m

configs tested: 110
configs skipped: 4

The following configs have been built successfully.
More configs may be tested in the coming days.

tested configs:
alpha allnoconfig   gcc-14.1.0
alphaallyesconfig   clang-20
alpha   defconfig   gcc-14.1.0
arc  allmodconfig   clang-20
arc   allnoconfig   gcc-14.1.0
arc  allyesconfig   clang-20
arc defconfig   gcc-14.1.0
arm  allmodconfig   clang-20
arm   allnoconfig   gcc-14.1.0
arm  allyesconfig   clang-20
arm defconfig   gcc-14.1.0
armneponset_defconfig   gcc-14.1.0
arm socfpga_defconfig   gcc-14.1.0
arm64allmodconfig   clang-20
arm64 allnoconfig   gcc-14.1.0
arm64   defconfig   gcc-14.1.0
csky alldefconfig   gcc-14.1.0
csky  allnoconfig   gcc-14.1.0
cskydefconfig   gcc-14.1.0
hexagon  allmodconfig   clang-20
hexagon   allnoconfig   gcc-14.1.0
hexagon  allyesconfig   clang-20
hexagon defconfig   gcc-14.1.0
i386 allmodconfig   clang-18
i386  allnoconfig   clang-18
i386 allyesconfig   clang-18
i386 buildonly-randconfig-001-20240904   gcc-12
i386 buildonly-randconfig-002-20240904   gcc-12
i386 buildonly-randconfig-003-20240904   gcc-12
i386 buildonly-randconfig-004-20240904   gcc-12
i386 buildonly-randconfig-005-20240904   gcc-12
i386 buildonly-randconfig-006-20240904   gcc-12
i386defconfig   clang-18
i386  randconfig-001-20240904   gcc-12
i386  randconfig-002-20240904   gcc-12
i386  randconfig-004-20240904   gcc-12
i386  randconfig-005-20240904   gcc-12
i386  randconfig-006-20240904   gcc-12
i386  randconfig-011-20240904   gcc-12
i386  randconfig-012-20240904   gcc-12
i386  randconfig-013-20240904   gcc-12
i386  randconfig-014-20240904   gcc-12
i386  randconfig-015-20240904   gcc-12
i386  randconfig-016-20240904   gcc-12
loongarchallmodconfig   gcc-14.1.0
loongarch allnoconfig   gcc-14.1.0
loongarch   defconfig   gcc-14.1.0
m68k allmodconfig   gcc-14.1.0
m68k  allnoconfig   gcc-14.1.0
m68k allyesconfig   gcc-14.1.0
m68kdefconfig   gcc-14.1.0
m68k  multi_defconfig   gcc-14.1.0
microblaze   allmodconfig   gcc-14.1.0
microblazeallnoconfig   gcc-14.1.0
microblaze   allyesconfig   gcc-14.1.0
microblaze  defconfig   gcc-14.1.0
mips  allnoconfig   gcc-14.1.0
mips   gcw0_defconfig   gcc-14.1.0
mips   ip28_defconfig   gcc-14.1.0
mips   jazz_defconfig   gcc-14.1.0
nios2 allnoconfig   gcc-14.1.0
nios2   defconfig   gcc-14.1.0
openrisc  allnoconfig   clang-20
openrisc allyesconfig   gcc-14.1.0
openriscdefconfig   gcc-12
openrisc simple_smp_defconfig   gcc-14.1.0
parisc   allmodconfig   gcc-14.1.0
pariscallnoconfig   clang-20
parisc   allyesconfig   gcc-14.1.0
parisc  defconfig   gcc-12
parisc64defconfig   gcc-14.1.0
powerpc akebono_defconfig   gcc-14.1.0
powerpc  allmodconfig   gcc-14.1.0
powerpc   allnoconfig   clang-20
powerpc  allyesconfig   gcc-14.1.0
powerpc  ep88xc_defconfig   gcc-14.1.0
powerpc  g5_defconfig   gcc-14.1.0
powerpcge_imp3a_defconfig   gcc-14.1.0
powerpc xes_mpc85xx_defconfig   gcc-14.1.0
riscvallmodconfig   gcc-14.1.0
riscv

[driver-core:driver-core-testing] BUILD SUCCESS fea64fa04c31426eae512751e0c5342345c5741c

2024-09-04 Thread kernel test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
driver-core-testing
branch HEAD: fea64fa04c31426eae512751e0c5342345c5741c  devres: Correclty strip 
percpu address space of devm_free_percpu() argument

elapsed time: 1397m

configs tested: 97
configs skipped: 3

The following configs have been built successfully.
More configs may be tested in the coming days.

tested configs:
alpha allnoconfig   gcc-14.1.0
alphaallyesconfig   clang-20
alpha   defconfig   gcc-14.1.0
arc  allmodconfig   clang-20
arc   allnoconfig   gcc-14.1.0
arc  allyesconfig   clang-20
arc defconfig   gcc-14.1.0
arm  allmodconfig   clang-20
arm   allnoconfig   gcc-14.1.0
arm  allyesconfig   clang-20
arm defconfig   gcc-14.1.0
armneponset_defconfig   gcc-14.1.0
arm socfpga_defconfig   gcc-14.1.0
arm64allmodconfig   clang-20
arm64 allnoconfig   gcc-14.1.0
arm64   defconfig   gcc-14.1.0
csky alldefconfig   gcc-14.1.0
csky  allnoconfig   gcc-14.1.0
cskydefconfig   gcc-14.1.0
hexagon  allmodconfig   clang-20
hexagon   allnoconfig   gcc-14.1.0
hexagon  allyesconfig   clang-20
hexagon defconfig   gcc-14.1.0
i386 allmodconfig   clang-18
i386 allmodconfig   gcc-12
i386  allnoconfig   clang-18
i386  allnoconfig   gcc-12
i386 allyesconfig   clang-18
i386 allyesconfig   gcc-12
i386defconfig   clang-18
loongarchallmodconfig   gcc-14.1.0
loongarch allnoconfig   gcc-14.1.0
loongarch   defconfig   gcc-14.1.0
m68k allmodconfig   gcc-14.1.0
m68k  allnoconfig   gcc-14.1.0
m68k allyesconfig   gcc-14.1.0
m68kdefconfig   gcc-14.1.0
m68k  multi_defconfig   gcc-14.1.0
microblaze   allmodconfig   gcc-14.1.0
microblazeallnoconfig   gcc-14.1.0
microblaze   allyesconfig   gcc-14.1.0
microblaze  defconfig   gcc-14.1.0
mips  allnoconfig   gcc-14.1.0
mips   gcw0_defconfig   gcc-14.1.0
mips   ip28_defconfig   gcc-14.1.0
mips   jazz_defconfig   gcc-14.1.0
nios2 allnoconfig   gcc-14.1.0
nios2   defconfig   gcc-14.1.0
openrisc  allnoconfig   clang-20
openrisc allyesconfig   gcc-14.1.0
openriscdefconfig   gcc-12
openrisc simple_smp_defconfig   gcc-14.1.0
parisc   allmodconfig   gcc-14.1.0
pariscallnoconfig   clang-20
parisc   allyesconfig   gcc-14.1.0
parisc  defconfig   gcc-12
parisc64defconfig   gcc-14.1.0
powerpc akebono_defconfig   gcc-14.1.0
powerpc  allmodconfig   gcc-14.1.0
powerpc   allnoconfig   clang-20
powerpc  allyesconfig   gcc-14.1.0
powerpc  ep88xc_defconfig   gcc-14.1.0
powerpc  g5_defconfig   gcc-14.1.0
powerpcge_imp3a_defconfig   gcc-14.1.0
powerpc xes_mpc85xx_defconfig   gcc-14.1.0
riscvallmodconfig   gcc-14.1.0
riscv allnoconfig   clang-20
riscvallyesconfig   gcc-14.1.0
riscv   defconfig   gcc-12
s390 allmodconfig   gcc-14.1.0
s390  allnoconfig   clang-20
s390 allyesconfig   gcc-14.1.0
s390defconfig   gcc-12
s390defconfig   gcc-14.1.0
sh   allmodconfig   gcc-14.1.0
shallnoconfig   gcc-14.1.0
sh   allyesconfig   gcc-14.1.0
sh  defconfig   gcc-12
sh  sdk7786_defconfig   

[driver-core:const_work 33/42] drivers/bus/fsl-mc/fsl-mc-bus.c:409:5: error: initializing 'struct device_type *' with an expression of type 'typeof (fsl_mc_bus_dprc_type) *' (aka 'const struct device_

2024-09-04 Thread kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
const_work
head:   5cbf546e827388f992254ad1b5cd8ec56816dbd0
commit: f4bff775c796c7dfb671cde4ef3c6def296f [33/42] bus: fsl-mc: constify 
the struct device_type usage
config: x86_64-allyesconfig 
(https://download.01.org/0day-ci/archive/20240905/202409050210.nvcqrlsb-...@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 
617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20240905/202409050210.nvcqrlsb-...@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 
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202409050210.nvcqrlsb-...@intel.com/

All errors (new ones prefixed by >>):

>> drivers/bus/fsl-mc/fsl-mc-bus.c:409:5: error: initializing 'struct 
>> device_type *' with an expression of type 'typeof (fsl_mc_bus_dprc_type) *' 
>> (aka 'const struct device_type *') discards qualifiers 
>> [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 409 | { &fsl_mc_bus_dprc_type, "dprc" },
 |   ^
   drivers/bus/fsl-mc/fsl-mc-bus.c:410:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dpni_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 410 | { &fsl_mc_bus_dpni_type, "dpni" },
 |   ^
>> drivers/bus/fsl-mc/fsl-mc-bus.c:411:5: error: initializing 'struct 
>> device_type *' with an expression of type 'typeof (fsl_mc_bus_dpio_type) *' 
>> (aka 'const struct device_type *') discards qualifiers 
>> [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 411 | { &fsl_mc_bus_dpio_type, "dpio" },
 |   ^
   drivers/bus/fsl-mc/fsl-mc-bus.c:412:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dpsw_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 412 | { &fsl_mc_bus_dpsw_type, "dpsw" },
 |   ^
   drivers/bus/fsl-mc/fsl-mc-bus.c:413:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dpbp_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 413 | { &fsl_mc_bus_dpbp_type, "dpbp" },
 |   ^
   drivers/bus/fsl-mc/fsl-mc-bus.c:414:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dpcon_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 414 | { &fsl_mc_bus_dpcon_type, "dpcon" },
 |   ^~
   drivers/bus/fsl-mc/fsl-mc-bus.c:415:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dpmcp_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 415 | { &fsl_mc_bus_dpmcp_type, "dpmcp" },
 |   ^~
>> drivers/bus/fsl-mc/fsl-mc-bus.c:416:5: error: initializing 'struct 
>> device_type *' with an expression of type 'typeof (fsl_mc_bus_dpmac_type) *' 
>> (aka 'const struct device_type *') discards qualifiers 
>> [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 416 | { &fsl_mc_bus_dpmac_type, "dpmac" },
 |   ^~
>> drivers/bus/fsl-mc/fsl-mc-bus.c:417:5: error: initializing 'struct 
>> device_type *' with an expression of type 'typeof (fsl_mc_bus_dprtc_type) *' 
>> (aka 'const struct device_type *') discards qualifiers 
>> [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 417 | { &fsl_mc_bus_dprtc_type, "dprtc" },
 |   ^~
   drivers/bus/fsl-mc/fsl-mc-bus.c:418:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dpseci_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 418 | { &fsl_mc_bus_dpseci_type, "dpseci" },
 |   ^~~
   drivers/bus/fsl-mc/fsl-mc-bus.c:419:5: error: initializing 'struct 
device_type *' with an expression of type 'typeof (fsl_mc_bus_dpdmux_type) *' 
(aka 'const struct device_type *') discards qualifiers 
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 419

[driver-core:bus_cleanup] BUILD SUCCESS 5da7245c3a34885b2221c9714dce19246a13230a

2024-09-04 Thread kernel test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
bus_cleanup
branch HEAD: 5da7245c3a34885b2221c9714dce19246a13230a  make a bunch of struct 
bus_type const.

elapsed time: 2063m

configs tested: 117
configs skipped: 4

The following configs have been built successfully.
More configs may be tested in the coming days.

tested configs:
alpha allnoconfig   gcc-14.1.0
alphaallyesconfig   clang-20
alphaallyesconfig   gcc-13.3.0
alpha   defconfig   gcc-14.1.0
arc   allnoconfig   gcc-14.1.0
arc defconfig   gcc-14.1.0
arm   allnoconfig   gcc-14.1.0
arm defconfig   gcc-14.1.0
arm64 allnoconfig   gcc-14.1.0
arm64   defconfig   gcc-14.1.0
csky  allnoconfig   gcc-14.1.0
cskydefconfig   gcc-14.1.0
hexagon  allmodconfig   clang-20
hexagon   allnoconfig   gcc-14.1.0
hexagon  allyesconfig   clang-20
hexagon defconfig   gcc-14.1.0
i386 allmodconfig   clang-18
i386  allnoconfig   clang-18
i386  allnoconfig   gcc-12
i386 allyesconfig   clang-18
i386 allyesconfig   gcc-12
i386 buildonly-randconfig-001-20240904   clang-18
i386 buildonly-randconfig-002-20240904   gcc-12
i386 buildonly-randconfig-003-20240904   clang-18
i386 buildonly-randconfig-004-20240904   clang-18
i386 buildonly-randconfig-005-20240904   clang-18
i386 buildonly-randconfig-006-20240904   clang-18
i386defconfig   clang-18
i386  randconfig-001-20240904   clang-18
i386  randconfig-002-20240904   clang-18
i386  randconfig-003-20240904   clang-18
i386  randconfig-004-20240904   clang-18
i386  randconfig-005-20240904   gcc-12
i386  randconfig-006-20240904   gcc-12
i386  randconfig-011-20240904   clang-18
i386  randconfig-012-20240904   clang-18
i386  randconfig-013-20240904   gcc-12
i386  randconfig-014-20240904   clang-18
i386  randconfig-015-20240904   clang-18
i386  randconfig-016-20240904   gcc-12
loongarchallmodconfig   gcc-14.1.0
loongarch allnoconfig   gcc-14.1.0
loongarch   defconfig   gcc-14.1.0
m68k allmodconfig   gcc-14.1.0
m68k  allnoconfig   gcc-14.1.0
m68k allyesconfig   gcc-14.1.0
m68kdefconfig   gcc-14.1.0
microblaze   allmodconfig   gcc-14.1.0
microblazeallnoconfig   gcc-14.1.0
microblaze   allyesconfig   gcc-14.1.0
microblaze  defconfig   gcc-14.1.0
mips  allnoconfig   gcc-14.1.0
nios2 allnoconfig   gcc-14.1.0
nios2   defconfig   gcc-14.1.0
openrisc  allnoconfig   clang-20
openrisc  allnoconfig   gcc-14.1.0
openrisc allyesconfig   gcc-14.1.0
openriscdefconfig   gcc-12
parisc   allmodconfig   gcc-14.1.0
pariscallnoconfig   clang-20
pariscallnoconfig   gcc-14.1.0
parisc  defconfig   gcc-12
parisc64defconfig   gcc-14.1.0
powerpc   allnoconfig   clang-20
powerpc   allnoconfig   gcc-14.1.0
riscv allnoconfig   clang-20
riscv allnoconfig   gcc-14.1.0
riscv   defconfig   gcc-12
s390 allmodconfig   clang-20
s390 allmodconfig   gcc-14.1.0
s390  allnoconfig   clang-20
s390 allyesconfig   gcc-14.1.0
s390defconfig   gcc-12
sh   allmodconfig   gcc-14.1.0
shallnoconfig   gcc-14.1.0
sh   allyesconfig   gcc-14.1.0
sh  defconfig   gcc-12
sparcallmodconfig   gcc-14.1.0
sparc64 defconfig   gcc-12
um   allmodconfig   clang-20
um