Buildresult: linus/mpc885_ads_defconfig/powerpc-gcc4.6 built on Dec 8 2019, 06:17
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Dec 8 2019, 06:17
Duration:
0:00:40.892012
Builder:
ka1
Revision:
pipe: fix poll/select race introduced by the pipe rework (
ad910e36da4ca3a1bd436989f632d062dda0c921)
Target:
linus/mpc885_ads_defconfig/powerpc-gcc4.6
Branch:
linus
Compiler:
powerpc-gcc4.6
(powerpc-linux-gcc (GCC) 4.6.3 / GNU ld (GNU Binutils) 2.22)
Config:
mpc885_ads_defconfig
(
download
)
Log:
Download original
Possible warnings (5)
kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] WARNING: vmlinux.o(.text+0xbad4): Section mismatch in reference from the function mmu_mark_initmem_nx() to the function .init.text:mmu_mapin_ram_chunk() WARNING: vmlinux.o(.text+0xbaec): Section mismatch in reference from the function mmu_mark_initmem_nx() to the function .init.text:mmu_mapin_ram_chunk() WARNING: vmlinux.o(.text+0xbb04): Section mismatch in reference from the function mmu_mark_initmem_nx() to the function .init.text:mmu_mapin_ram_chunk()
Full Log
# git rev-parse -q --verify ad910e36da4ca3a1bd436989f632d062dda0c921^{commit} ad910e36da4ca3a1bd436989f632d062dda0c921 already have revision, skipping fetch # git checkout -q -f -B kisskb ad910e36da4ca3a1bd436989f632d062dda0c921 # git clean -qxdf # < git log -1 # commit ad910e36da4ca3a1bd436989f632d062dda0c921 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Sat Dec 7 10:41:17 2019 -0800 # # pipe: fix poll/select race introduced by the pipe rework # # The kernel wait queues have a basic rule to them: you add yourself to # the wait-queue first, and then you check the things that you're going to # wait on. That avoids the races with the event you're waiting for. # # The same goes for poll/select logic: the "poll_wait()" goes first, and # then you check the things you're polling for. # # Of course, if you use locking, the ordering doesn't matter since the # lock will serialize with anything that changes the state you're looking # at. That's not the case here, though. # # So move the poll_wait() first in pipe_poll(), before you start looking # at the pipe state. # # Fixes: 8cefc107ca54 ("pipe: Use head and tail pointers for the ring, not cursor and length") # Cc: David Howells <dhowells@redhat.com> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 ad910e36da4ca3a1bd436989f632d062dda0c921 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_mpc885_ads_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc885_ads_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_mpc885_ads_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here WARNING: vmlinux.o(.text+0xbad4): Section mismatch in reference from the function mmu_mark_initmem_nx() to the function .init.text:mmu_mapin_ram_chunk() The function mmu_mark_initmem_nx() references the function __init mmu_mapin_ram_chunk(). This is often because mmu_mark_initmem_nx lacks a __init annotation or the annotation of mmu_mapin_ram_chunk is wrong. WARNING: vmlinux.o(.text+0xbaec): Section mismatch in reference from the function mmu_mark_initmem_nx() to the function .init.text:mmu_mapin_ram_chunk() The function mmu_mark_initmem_nx() references the function __init mmu_mapin_ram_chunk(). This is often because mmu_mark_initmem_nx lacks a __init annotation or the annotation of mmu_mapin_ram_chunk is wrong. WARNING: vmlinux.o(.text+0xbb04): Section mismatch in reference from the function mmu_mark_initmem_nx() to the function .init.text:mmu_mapin_ram_chunk() The function mmu_mark_initmem_nx() references the function __init mmu_mapin_ram_chunk(). This is often because mmu_mark_initmem_nx lacks a __init annotation or the annotation of mmu_mapin_ram_chunk is wrong. Image Name: Linux-5.4.0-gad910e36da4c Created: Sun Dec 8 06:18:09 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1756660 Bytes = 1715.49 KiB = 1.68 MiB Load Address: 00400000 Entry Point: 004001dc Completed OK # rm -rf /kisskb/build/linus_mpc885_ads_defconfig_powerpc-gcc4.6 # Build took: 0:00:40.892012
© Michael Ellerman 2006-2018.