tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git kobject-const branch HEAD: 75b46b72e13aa3b904572a0a9511f14709eac779 kobject: kset_uevent_ops: make uevent() callback take a const * Error/Warning reports: https://lore.kernel.org/lkml/202209292354.1kpF6NCQ-lkp@xxxxxxxxx https://lore.kernel.org/lkml/202210030018.DEdqnYgJ-lkp@xxxxxxxxx https://lore.kernel.org/lkml/202210030044.NuUjYOG1-lkp@xxxxxxxxx https://lore.kernel.org/lkml/202210030136.6KGC27Mw-lkp@xxxxxxxxx Error/Warning: (recently discovered and may have been fixed) drivers/amba/bus.c:447:27: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' [-Werror=incompatible-pointer-types] drivers/firmware/arm_ffa/bus.c:97:27: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' [-Werror=incompatible-pointer-types] drivers/gpu/host1x/bus.c:388:19: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' [-Werror=incompatible-pointer-types] drivers/s390/cio/scm.c:49:12: error: incompatible function pointer types initializing 'int (*)(const struct device *, struct kobj_uevent_env *)' with an expression of type 'int (struct device *, struct kobj_uevent_env *)' [-Wincompatible-function-pointer-types] drivers/s390/cio/scm.c:49:19: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' [-Werror=incompatible-pointer-types] drivers/s390/crypto/ap_bus.c:1575:19: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' [-Werror=incompatible-pointer-types] drivers/zorro/zorro-driver.c:158:27: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' [-Werror=incompatible-pointer-types] sound/aoa/soundbus/core.c:131:27: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' [-Werror=incompatible-pointer-types] Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- arm-allyesconfig | |-- drivers-amba-bus.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) | `-- drivers-gpu-host1x-bus.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- arm-defconfig | |-- drivers-amba-bus.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) | `-- drivers-gpu-host1x-bus.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- arm64-allyesconfig | |-- drivers-amba-bus.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) | |-- drivers-firmware-arm_ffa-bus.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) | `-- drivers-gpu-host1x-bus.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- m68k-allmodconfig | `-- drivers-zorro-zorro-driver.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- m68k-allyesconfig | `-- drivers-zorro-zorro-driver.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- m68k-randconfig-r025-20221002 | `-- drivers-zorro-zorro-driver.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- powerpc-allmodconfig | `-- sound-aoa-soundbus-core.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- s390-allmodconfig | |-- drivers-s390-cio-scm.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) | `-- drivers-s390-crypto-ap_bus.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- s390-allyesconfig | |-- drivers-s390-cio-scm.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) | `-- drivers-s390-crypto-ap_bus.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) `-- s390-defconfig |-- drivers-s390-cio-scm.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) `-- drivers-s390-crypto-ap_bus.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) clang_recent_errors `-- s390-randconfig-r021-20221002 `-- drivers-s390-cio-scm.c:error:incompatible-function-pointer-types-initializing-int-(-)(const-struct-device-struct-kobj_uevent_env-)-with-an-expression-of-type-int-(struct-device-struct-kobj_uevent_env- elapsed time: 722m configs tested: 58 configs skipped: 2 gcc tested configs: arc defconfig alpha defconfig x86_64 rhel-8.3-syz x86_64 rhel-8.3-kunit x86_64 rhel-8.3-kvm i386 defconfig x86_64 rhel-8.3-func x86_64 rhel-8.3-kselftests um x86_64_defconfig um i386_defconfig x86_64 defconfig s390 defconfig arm defconfig s390 allmodconfig arm allyesconfig x86_64 rhel-8.3 s390 allyesconfig m68k allmodconfig arc allyesconfig arc randconfig-r043-20221002 x86_64 randconfig-a002 alpha allyesconfig x86_64 allyesconfig m68k allyesconfig i386 randconfig-a001 arm64 allyesconfig i386 randconfig-a003 x86_64 randconfig-a006 x86_64 randconfig-a004 i386 randconfig-a005 i386 allyesconfig i386 randconfig-a014 x86_64 randconfig-a013 i386 randconfig-a012 x86_64 randconfig-a011 i386 randconfig-a016 x86_64 randconfig-a015 powerpc allmodconfig mips allyesconfig powerpc allnoconfig ia64 allmodconfig sh allmodconfig clang tested configs: hexagon randconfig-r041-20221002 hexagon randconfig-r045-20221002 riscv randconfig-r042-20221002 x86_64 randconfig-a005 s390 randconfig-r044-20221002 x86_64 randconfig-a001 i386 randconfig-a002 x86_64 randconfig-a003 i386 randconfig-a013 i386 randconfig-a015 i386 randconfig-a006 i386 randconfig-a004 i386 randconfig-a011 x86_64 randconfig-a012 x86_64 randconfig-a014 x86_64 randconfig-a016 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel