# git rev-parse -q --verify f8fbb47c6e86c0b75f8df864db702c3e3f757361^{commit} f8fbb47c6e86c0b75f8df864db702c3e3f757361 already have revision, skipping fetch # git checkout -q -f -B kisskb f8fbb47c6e86c0b75f8df864db702c3e3f757361 # git clean -qxdf # < git log -1 # commit f8fbb47c6e86c0b75f8df864db702c3e3f757361 # Merge: 59cd4f435ee9 f153c2246783 # Author: Linus Torvalds # Date: Thu Aug 12 07:20:16 2021 -1000 # # Merge branch 'for-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace # # Pull ucounts fix from Eric Biederman: # "This fixes the ucount sysctls on big endian architectures. # # The counts were expanded to be longs instead of ints, and the sysctl # code was overlooked, so only the low 32bit were being processed. On # litte endian just processing the low 32bits is fine, but on 64bit big # endian processing just the low 32bits results in the high order bits # instead of the low order bits being processed and nothing works # proper. # # This change took a little bit to mature as we have the SYSCTL_ZERO, # and SYSCTL_INT_MAX macros that are only usable for sysctls operating # on ints, but unfortunately are not obviously broken. Which resulted in # the versions of this change working on big endian and not on little # endian, because the int SYSCTL_ZERO when extended 64bit wound up being # 0x100000000. So we only allowed values greater than 0x100000000 and # less than 0faff. Which unfortunately broken everything that tried to # set the sysctls. (First reported with the windows subsystem for # linux). # # I have tested this on x86_64 64bit after first reproducing the # problems with the earlier version of this change, and then verifying # the problems do not exist when we use appropriate long min and max # values for extra1 and extra2" # # * 'for-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: # ucounts: add missing data type changes # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f8fbb47c6e86c0b75f8df864db702c3e3f757361 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig WARNING: unmet direct dependencies detected for LEDS_TRIGGER_DISK Depends on [n]: NEW_LEDS [=y] && LEDS_TRIGGERS [=y] && (IDE_GD_ATA || ATA [=n]) Selected by [y]: - ADB_PMU_LED_DISK [=y] && MACINTOSH_DRIVERS [=y] && ADB_PMU_LED [=y] && LEDS_CLASS [=y] # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4976:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4981:warning: override: reassigning to symbol UBSAN WARNING: unmet direct dependencies detected for LEDS_TRIGGER_DISK Depends on [n]: NEW_LEDS [=y] && LEDS_TRIGGERS [=y] && (IDE_GD_ATA || ATA [=n]) Selected by [y]: - ADB_PMU_LED_DISK [=y] && MACINTOSH_DRIVERS [=y] && ADB_PMU_LED [=y] && LEDS_CLASS [=y] # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: unmet direct dependencies detected for LEDS_TRIGGER_DISK Depends on [n]: NEW_LEDS [=y] && LEDS_TRIGGERS [=y] && (IDE_GD_ATA || ATA [=n]) Selected by [y]: - ADB_PMU_LED_DISK [=y] && MACINTOSH_DRIVERS [=y] && ADB_PMU_LED [=y] && LEDS_CLASS [=y] WARNING: unmet direct dependencies detected for LEDS_TRIGGER_DISK Depends on [n]: NEW_LEDS [=y] && LEDS_TRIGGERS [=y] && (IDE_GD_ATA || ATA [=n]) Selected by [y]: - ADB_PMU_LED_DISK [=y] && MACINTOSH_DRIVERS [=y] && ADB_PMU_LED [=y] && LEDS_CLASS [=y] WARNING: unmet direct dependencies detected for LEDS_TRIGGER_DISK Depends on [n]: NEW_LEDS [=y] && LEDS_TRIGGERS [=y] && (IDE_GD_ATA || ATA [=n]) Selected by [y]: - ADB_PMU_LED_DISK [=y] && MACINTOSH_DRIVERS [=y] && ADB_PMU_LED [=y] && LEDS_CLASS [=y] /kisskb/src/security/landlock/ruleset.c: In function 'insert_rule': /kisskb/src/security/landlock/ruleset.c:196:34: warning: passing argument 2 of 'create_rule' from incompatible pointer type new_rule = create_rule(object, &this->layers, this->num_layers, ^ /kisskb/src/security/landlock/ruleset.c:69:30: note: expected 'const struct landlock_layer (* const)[]' but argument is of type 'struct landlock_layer (*)[]' static struct landlock_rule *create_rule( ^ /kisskb/src/security/landlock/ruleset.c: In function 'landlock_insert_rule': /kisskb/src/security/landlock/ruleset.c:240:38: warning: passing argument 3 of 'insert_rule' from incompatible pointer type return insert_rule(ruleset, object, &layers, ARRAY_SIZE(layers)); ^ /kisskb/src/security/landlock/ruleset.c:144:12: note: expected 'const struct landlock_layer (* const)[]' but argument is of type 'struct landlock_layer (*)[1]' static int insert_rule(struct landlock_ruleset *const ruleset, ^ /kisskb/src/security/landlock/ruleset.c: In function 'merge_ruleset': /kisskb/src/security/landlock/ruleset.c:300:47: warning: passing argument 3 of 'insert_rule' from incompatible pointer type err = insert_rule(dst, walker_rule->object, &layers, ^ /kisskb/src/security/landlock/ruleset.c:144:12: note: expected 'const struct landlock_layer (* const)[]' but argument is of type 'struct landlock_layer (*)[1]' static int insert_rule(struct landlock_ruleset *const ruleset, ^ /kisskb/src/security/landlock/ruleset.c: In function 'inherit_ruleset': /kisskb/src/security/landlock/ruleset.c:330:5: warning: passing argument 3 of 'insert_rule' from incompatible pointer type &walker_rule->layers, walker_rule->num_layers); ^ /kisskb/src/security/landlock/ruleset.c:144:12: note: expected 'const struct landlock_layer (* const)[]' but argument is of type 'struct landlock_layer (*)[]' static int insert_rule(struct landlock_ruleset *const ruleset, ^ /kisskb/src/drivers/cxl/core.c: In function 'cxl_probe_component_regs': /kisskb/src/drivers/cxl/core.c:567:17: warning: missing braces around initializer [-Wmissing-braces] *map = (struct cxl_component_reg_map) { 0 }; ^ /kisskb/src/drivers/cxl/core.c:567:17: warning: (near initialization for '(anonymous).hdm_decoder') [-Wmissing-braces] /kisskb/src/drivers/cxl/core.c: In function 'cxl_probe_device_regs': /kisskb/src/drivers/cxl/core.c:831:17: warning: missing braces around initializer [-Wmissing-braces] *map = (struct cxl_device_reg_map){ 0 }; ^ /kisskb/src/drivers/cxl/core.c:831:17: warning: (near initialization for '(anonymous).status') [-Wmissing-braces] /kisskb/src/drivers/media/i2c/imx334.c: In function 'imx334_read_reg': /kisskb/src/drivers/media/i2c/imx334.c:288:9: warning: missing braces around initializer [-Wmissing-braces] struct i2c_msg msgs[2] = {0}; ^ /kisskb/src/drivers/media/i2c/imx334.c:288:9: warning: (near initialization for 'msgs[0]') [-Wmissing-braces] /kisskb/src/fs/btrfs/tree-checker.c: In function 'check_root_item': /kisskb/src/fs/btrfs/tree-checker.c:1071:9: warning: missing braces around initializer [-Wmissing-braces] struct btrfs_root_item ri = { 0 }; ^ /kisskb/src/fs/btrfs/tree-checker.c:1071:9: warning: (near initialization for 'ri.inode') [-Wmissing-braces] drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_set_suspend': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:856: undefined reference to `.fb_set_suspend' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_resume_worker': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:370: undefined reference to `.fb_set_suspend' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_unregister_fbi': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:605: undefined reference to `.unregister_framebuffer' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_fini': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:633: undefined reference to `.fb_dealloc_cmap' /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:634: undefined reference to `.framebuffer_release' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_sys_read': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:728: undefined reference to `.fb_sys_read' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_set_suspend_unlocked': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:901: undefined reference to `.fb_set_suspend' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fbdev_cleanup': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:2042: undefined reference to `.fb_deferred_io_cleanup' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fbdev_client_unregister': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:605: undefined reference to `.unregister_framebuffer' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_cfb_imageblit': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:839: undefined reference to `.cfb_imageblit' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_cfb_copyarea': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:824: undefined reference to `.cfb_copyarea' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_cfb_fillrect': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:809: undefined reference to `.cfb_fillrect' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_sys_imageblit': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:794: undefined reference to `.sys_imageblit' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_sys_copyarea': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:779: undefined reference to `.sys_copyarea' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_sys_fillrect': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:764: undefined reference to `.sys_fillrect' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_sys_write': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:746: undefined reference to `.fb_sys_write' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_alloc_fbi': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:559: undefined reference to `.framebuffer_alloc' /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:563: undefined reference to `.fb_alloc_cmap' /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:589: undefined reference to `.framebuffer_release' /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:587: undefined reference to `.fb_dealloc_cmap' drivers/gpu/drm/drm_fb_helper.o: In function `.drm_fb_helper_generic_probe': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:2347: undefined reference to `.fb_deferred_io_init' drivers/gpu/drm/drm_fb_helper.o: In function `.__drm_fb_helper_initial_config_and_unlock': /kisskb/src/drivers/gpu/drm/drm_fb_helper.c:1855: undefined reference to `.register_framebuffer' make[1]: *** [/kisskb/src/Makefile:1176: vmlinux] Error 1 make: *** [Makefile:220: __sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.9 # Build took: 0:03:02.463354