# git rev-parse -q --verify a93e884edf61f9debc9ca61ef9e545f0394ab666^{commit} a93e884edf61f9debc9ca61ef9e545f0394ab666 already have revision, skipping fetch # git checkout -q -f -B kisskb a93e884edf61f9debc9ca61ef9e545f0394ab666 # git clean -qxdf # < git log -1 # commit a93e884edf61f9debc9ca61ef9e545f0394ab666 # Merge: 693fed981eb9 88cd618dcc7b # Author: Linus Torvalds # Date: Fri Feb 24 12:58:55 2023 -0800 # # Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core # # Pull driver core updates from Greg KH: # "Here is the large set of driver core changes for 6.3-rc1. # # There's a lot of changes this development cycle, most of the work # falls into two different categories: # # - fw_devlink fixes and updates. This has gone through numerous review # cycles and lots of review and testing by lots of different devices. # Hopefully all should be good now, and Saravana will be keeping a # watch for any potential regression on odd embedded systems. # # - driver core changes to work to make struct bus_type able to be # moved into read-only memory (i.e. const) The recent work with Rust # has pointed out a number of areas in the driver core where we are # passing around and working with structures that really do not have # to be dynamic at all, and they should be able to be read-only # making things safer overall. This is the contuation of that work # (started last release with kobject changes) in moving struct # bus_type to be constant. We didn't quite make it for this release, # but the remaining patches will be finished up for the release after # this one, but the groundwork has been laid for this effort. # # Other than that we have in here: # # - debugfs memory leak fixes in some subsystems # # - error path cleanups and fixes for some never-able-to-be-hit # codepaths. # # - cacheinfo rework and fixes # # - Other tiny fixes, full details are in the shortlog # # All of these have been in linux-next for a while with no reported # problems" # # [ Geert Uytterhoeven points out that that last sentence isn't true, and # that there's a pending report that has a fix that is queued up - Linus ] # # * tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (124 commits) # debugfs: drop inline constant formatting for ERR_PTR(-ERROR) # OPP: fix error checking in opp_migrate_dentry() # debugfs: update comment of debugfs_rename() # i3c: fix device.h kernel-doc warnings # dma-mapping: no need to pass a bus_type into get_arch_dma_ops() # driver core: class: move EXPORT_SYMBOL_GPL() lines to the correct place # Revert "driver core: add error handling for devtmpfs_create_node()" # Revert "devtmpfs: add debug info to handle()" # Revert "devtmpfs: remove return value of devtmpfs_delete_node()" # driver core: cpu: don't hand-override the uevent bus_type callback. # devtmpfs: remove return value of devtmpfs_delete_node() # devtmpfs: add debug info to handle() # driver core: add error handling for devtmpfs_create_node() # driver core: bus: update my copyright notice # driver core: bus: add bus_get_dev_root() function # driver core: bus: constify bus_unregister() # driver core: bus: constify some internal functions # driver core: bus: constify bus_get_kset() # driver core: bus: constify bus_register/unregister_notifier() # driver core: remove private pointer from struct bus_type # ... # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 a93e884edf61f9debc9ca61ef9e545f0394ab666 # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 allmodconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:12669:warning: override: reassigning to symbol GCC_PLUGIN_SANCOV .config:12674:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:12676:warning: override: reassigning to symbol UML_NET_SLIP .config:12679:warning: override: reassigning to symbol UML_NET_MCAST .config:12681:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/arch/um/os-Linux/util.c:17:24: fatal error: sys/random.h: No such file or directory compilation terminated. make[3]: *** [/kisskb/src/scripts/Makefile.build:252: arch/um/os-Linux/util.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:504: arch/um/os-Linux] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/x86/um/asm/processor.h:41:0, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/pci.h:35, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:26: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: In function 'kfd_cpumask_to_apic_id': /kisskb/src/arch/um/include/asm/processor-generic.h:94:18: error: called object is not a function or function pointer #define cpu_data (&boot_cpu_data) ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2157:9: note: in expansion of macro 'cpu_data' return cpu_data(first_cpu_of_numa_node).apicid; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2161:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:504: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** Waiting for unfinished jobs.... /kisskb/src/fs/btrfs/send.c: In function 'get_cur_inode_state': /kisskb/src/fs/btrfs/send.c:1909:13: error: 'right_gen' may be used uninitialized in this function [-Werror=maybe-uninitialized] } else if (right_gen == gen) { ^ /kisskb/src/fs/btrfs/send.c: At top level: cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:252: fs/btrfs/send.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:504: fs/btrfs] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:504: fs] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:504: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:504: drivers/gpu] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:504: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:2021: .] Error 2 make: *** [Makefile:242: __sub-make] Error 2 Command 'make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allmodconfig_um-x86_64 # Build took: 0:11:48.842132