tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git kobject-const branch HEAD: 987a03146b7c09014c6878256fac24d4392ce68f kobject: kset_uevent_ops: make uevent() callback take a const * Error/Warning reports: https://lore.kernel.org/lkml/202209292354.1kpF6NCQ-lkp@xxxxxxxxx Error/Warning: (recently discovered and may have been fixed) arch/parisc/kernel/drivers.c:623: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/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/bus/mhi/ep/main.c:1580: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/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: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 |-- alpha-allyesconfig | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- arc-allyesconfig | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- arc-randconfig-r043-20220926 | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- 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-bus-mhi-ep-main.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-buildonly-randconfig-r002-20220926 | |-- 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-) |-- arm-randconfig-r016-20220926 | `-- 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-) |-- 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-bus-mhi-ep-main.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-) |-- csky-buildonly-randconfig-r004-20220926 | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- csky-randconfig-r011-20220925 | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- i386-allyesconfig | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- i386-randconfig-r001-20220926 | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- ia64-allmodconfig | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- ia64-randconfig-r006-20220925 | `-- drivers-bus-mhi-ep-main.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-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) | `-- 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-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) | `-- 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-r024-20220925 | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- microblaze-randconfig-r003-20220926 | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- mips-allyesconfig | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- mips-buildonly-randconfig-r003-20220925 | `-- drivers-bus-mhi-ep-main.c:error:initialization-of-int-(-)(const-struct-device-struct-kobj_uevent_env-)-from-incompatible-pointer-type-int-(-)(struct-device-struct-kobj_uevent_env-) |-- nios2-buildonly-randconfig-r002-20220925 clang_recent_errors |-- arm-randconfig-r032-20220926 | `-- drivers-amba-bus.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-) |-- arm64-randconfig-r013-20220926 | |-- drivers-amba-bus.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-) | `-- drivers-gpu-host1x-bus.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_en |-- hexagon-buildonly-randconfig-r005-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- hexagon-randconfig-r031-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- hexagon-randconfig-r041-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- hexagon-randconfig-r045-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- i386-randconfig-a012-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- i386-randconfig-a013-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- i386-randconfig-a014-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- i386-randconfig-a015-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- i386-randconfig-a016-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- riscv-buildonly-randconfig-r001-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- s390-randconfig-r011-20220926 | `-- 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- |-- s390-randconfig-r044-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- x86_64-randconfig-a011-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- x86_64-randconfig-a013-20220926 | `-- drivers-bus-mhi-ep-main.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_e |-- x86_64-randconfig-a014-20220926 | `-- drivers-bus-mhi-ep-main.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_e `-- x86_64-randconfig-a015-20220926 `-- drivers-bus-mhi-ep-main.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_e elapsed time: 1469m configs tested: 69 configs skipped: 2 gcc tested configs: arc defconfig s390 allmodconfig alpha defconfig s390 defconfig s390 allyesconfig um i386_defconfig um x86_64_defconfig i386 defconfig powerpc allnoconfig powerpc allmodconfig x86_64 rhel-8.3-syz mips allyesconfig x86_64 rhel-8.3-kunit sh allmodconfig x86_64 rhel-8.3-kvm x86_64 defconfig x86_64 rhel-8.3 i386 randconfig-a001 i386 allyesconfig i386 randconfig-a003 arm defconfig x86_64 allyesconfig arc allyesconfig x86_64 rhel-8.3-func arc randconfig-r043-20220926 x86_64 rhel-8.3-kselftests arm allyesconfig i386 randconfig-a005 alpha allyesconfig arm64 allyesconfig m68k allmodconfig m68k allyesconfig x86_64 randconfig-a002-20220926 x86_64 randconfig-a004-20220926 x86_64 randconfig-a001-20220926 i386 randconfig-a003-20220926 i386 randconfig-a001-20220926 i386 randconfig-a006-20220926 i386 randconfig-a004-20220926 i386 randconfig-a005-20220926 i386 randconfig-a002-20220926 x86_64 randconfig-a003-20220926 i386 randconfig-a012 i386 randconfig-a014 i386 randconfig-a016 x86_64 randconfig-a006-20220926 x86_64 randconfig-a005-20220926 ia64 allmodconfig clang tested configs: hexagon randconfig-r045-20220926 x86_64 randconfig-a014-20220926 x86_64 randconfig-a013-20220926 riscv randconfig-r042-20220926 hexagon randconfig-r041-20220926 x86_64 randconfig-a011-20220926 i386 randconfig-a002 s390 randconfig-r044-20220926 x86_64 randconfig-a015-20220926 x86_64 randconfig-a012-20220926 i386 randconfig-a006 x86_64 randconfig-a016-20220926 i386 randconfig-a004 i386 randconfig-a014-20220926 i386 randconfig-a013-20220926 i386 randconfig-a012-20220926 i386 randconfig-a011-20220926 hexagon randconfig-r041-20220925 hexagon randconfig-r045-20220925 i386 randconfig-a016-20220926 i386 randconfig-a015-20220926 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel