# git rev-parse -q --verify 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19^{commit} 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19 already have revision, skipping fetch # git checkout -q -f -B kisskb 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19 # git clean -qxdf # < git log -1 # commit 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19 # Merge: 473348891c36 dfd32cad146e # Author: Linus Torvalds # Date: Sat Jan 12 10:52:40 2019 -0800 # # Merge tag 'remove-dma_zalloc_coherent-5.0' of git://git.infradead.org/users/hch/dma-mapping # # Pull dma_zalloc_coherent() removal from Christoph Hellwig: # "We've always had a weird situation around dma_zalloc_coherent. To # safely support mapping the allocations to userspace major # architectures like x86 and arm have always zeroed allocations from # dma_alloc_coherent, but a couple other architectures were missing that # zeroing either always or in corner cases. # # Then later we grew anothe dma_zalloc_coherent interface to explicitly # request zeroing, but that just added __GFP_ZERO to the allocation # flags, which for some allocators that didn't end up using the page # allocator ended up being a no-op and still not zeroing the # allocations. # # So for this merge window I fixed up all remaining architectures to # zero the memory in dma_alloc_coherent, and made dma_zalloc_coherent a # no-op wrapper around dma_alloc_coherent, which fixes all of the above # issues. # # dma_zalloc_coherent is now pointless and can go away, and Luis helped # me writing a cocchinelle script and patch series to kill it, which I # think we should apply now just after -rc1 to finally settle these # issue" # # * tag 'remove-dma_zalloc_coherent-5.0' of git://git.infradead.org/users/hch/dma-mapping: # dma-mapping: remove dma_zalloc_coherent() # cross-tree: phase out dma_zalloc_coherent() on headers # cross-tree: phase out dma_zalloc_coherent() # < /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 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19 # < make -s -j 48 ARCH=um O=/kisskb/build/linus_um-defconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 defconfig # make -s -j 48 ARCH=um O=/kisskb/build/linus_um-defconfig_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/kernel/skas/uaccess.c: In function 'do_op_one_page': /kisskb/src/arch/um/kernel/skas/uaccess.c:62:10: warning: unused variable 'buf' [-Wunused-variable] jmp_buf buf; ^ /kisskb/src/arch/um/os-Linux/umid.c: In function 'is_umdir_used': /kisskb/src/arch/um/os-Linux/umid.c:138:2: warning: ISO C90 forbids variable length array 'file' [-Wvla] char file[strlen(uml_dir) + UMID_LEN + sizeof("/pid\0")]; ^ /kisskb/src/arch/um/os-Linux/umid.c: In function 'create_pid_file': /kisskb/src/arch/um/os-Linux/umid.c:213:2: warning: ISO C90 forbids variable length array 'file' [-Wvla] char file[strlen(uml_dir) + UMID_LEN + sizeof("/pid\0")]; ^ /kisskb/src/arch/um/os-Linux/umid.c: In function 'remove_umid_dir': /kisskb/src/arch/um/os-Linux/umid.c:388:2: warning: ISO C90 forbids variable length array 'dir' [-Wvla] char dir[strlen(uml_dir) + UMID_LEN + 1], err; ^ LINK linux Completed OK # rm -rf /kisskb/build/linus_um-defconfig_um-x86_64 # Build took: 0:00:41.682798