Skip to contentSkip to conversation

BUILD REGRESSION f45ad0a3230a0f2acba54b0bd76d897a9b68f4da

thomas-weissschuh:b4/b4-sysfs-const-attr-device_attr Thomas Weißschuh 2 participants 2 messages Apr 6 – Apr 7 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Oliver and the LKP team,

Quoted 7 lines · kernel test robot

tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/b4-sysfs-const-attr-device_attr branch HEAD: f45ad0a3230a0f2acba54b0bd76d897a9b68f4da uncore

Error/Warning (recently discovered and may have been fixed):

    https://lore.kernel.org/oe-kbuild-all/[email protected]
    https://lore.kernel.org/oe-kbuild-all/[email protected]

These links don't seem to work. I am specifically interested in the reproducer for "initialized field overwritten".

And thanks again for your service!

Thomas

Quoted 18 lines

arch/powerpc/perf/hv-24x7.c:464:18: error: assignment to 'ssize_t (*)(struct device *, struct device_attribute *, char *)' {aka 'long int (*)(struct device *, struct device_attribute *, char *)'} from incompatible pointer type 'ssize_t (*)(struct device *, const struct device_attribute *, char *)' {aka 'long int (*)(struct device *, const struct device_attribute *, char *)'} [-Werror=incompatible-pointer-types] arch/powerpc/perf/hv-24x7.c:464:25: error: assignment to 'ssize_t (*)(struct device *, struct device_attribute *, char *)' {aka 'long int (*)(struct device *, struct device_attribute *, char *)'} from incompatible pointer type 'ssize_t (*)(struct device *, const struct device_attribute *, char *)' {aka 'long int (*)(struct device *, const struct device_attribute *, char *)'} [-Wincompatible-pointer-types] include/linux/device.h:157:27: error: initialized field overwritten [-Werror=override-init]
include/linux/device.h:161:27: error: initialized field overwritten [-Werror=override-init]

Error/Warning ids grouped by kconfigs:

recent_errors

|-- i386-randconfig-002-20260405
|   `-- include-linux-device.h:error:initialized-field-overwritten
|-- i386-randconfig-051-20260406
|   `-- include-linux-device.h:error:initialized-field-overwritten
|-- powerpc-allmodconfig
|   `-- arch-powerpc-perf-hv-24x7.c:error:assignment-to-ssize_t-(-)(struct-device-struct-device_attribute-char-)-aka-long-int-(-)(struct-device-struct-device_attribute-char-)-from-incompatible-pointer-type-ss
|-- powerpc64-randconfig-r053-20260405
|   `-- arch-powerpc-perf-hv-24x7.c:error:assignment-to-ssize_t-(-)(struct-device-struct-device_attribute-char-)-aka-long-int-(-)(struct-device-struct-device_attribute-char-)-from-incompatible-pointer-type-ss

`-- x86_64-randconfig-103-20260405
`-- include-linux-device.h:error:initialized-field-overwritten

(...)

#2 lore raw

hi, Thomas,

Quoted 6 lines · Thomas Weißschuh

Hi Oliver and the LKP team,

Quoted 3 lines · kernel test robot

tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/b4-sysfs-const-attr-device_attr branch HEAD: f45ad0a3230a0f2acba54b0bd76d897a9b68f4da uncore

Quoted 7 lines
Quoted 4 lines

Error/Warning (recently discovered and may have been fixed):

    https://lore.kernel.org/oe-kbuild-all/[email protected]
    https://lore.kernel.org/oe-kbuild-all/[email protected]

These links don't seem to work. I am specifically interested in the reproducer for "initialized field overwritten".

sorry that our related services have some problems recently. now fixed.

above links and links within them related with config and reproducer
(https://download.01.org/0day-ci/archive/****) are all valid now.

if you still found problems, please kindly let us know. thanks!

Quoted 2 lines

And thanks again for your service!

you are welcome!

Quoted 24 lines

Thomas

Quoted 18 lines

arch/powerpc/perf/hv-24x7.c:464:18: error: assignment to 'ssize_t (*)(struct device *, struct device_attribute *, char *)' {aka 'long int (*)(struct device *, struct device_attribute *, char *)'} from incompatible pointer type 'ssize_t (*)(struct device *, const struct device_attribute *, char *)' {aka 'long int (*)(struct device *, const struct device_attribute *, char *)'} [-Werror=incompatible-pointer-types] arch/powerpc/perf/hv-24x7.c:464:25: error: assignment to 'ssize_t (*)(struct device *, struct device_attribute *, char *)' {aka 'long int (*)(struct device *, struct device_attribute *, char *)'} from incompatible pointer type 'ssize_t (*)(struct device *, const struct device_attribute *, char *)' {aka 'long int (*)(struct device *, const struct device_attribute *, char *)'} [-Wincompatible-pointer-types] include/linux/device.h:157:27: error: initialized field overwritten [-Werror=override-init]
include/linux/device.h:161:27: error: initialized field overwritten [-Werror=override-init]

Error/Warning ids grouped by kconfigs:

recent_errors

|-- i386-randconfig-002-20260405
|   `-- include-linux-device.h:error:initialized-field-overwritten
|-- i386-randconfig-051-20260406
|   `-- include-linux-device.h:error:initialized-field-overwritten
|-- powerpc-allmodconfig
|   `-- arch-powerpc-perf-hv-24x7.c:error:assignment-to-ssize_t-(-)(struct-device-struct-device_attribute-char-)-aka-long-int-(-)(struct-device-struct-device_attribute-char-)-from-incompatible-pointer-type-ss
|-- powerpc64-randconfig-r053-20260405
|   `-- arch-powerpc-perf-hv-24x7.c:error:assignment-to-ssize_t-(-)(struct-device-struct-device_attribute-char-)-aka-long-int-(-)(struct-device-struct-device_attribute-char-)-from-incompatible-pointer-type-ss

`-- x86_64-randconfig-103-20260405
`-- include-linux-device.h:error:initialized-field-overwritten

(...)