# git rev-parse -q --verify 452ef502d6d2d5729d3be1ad501e3361678a013f^{commit} 452ef502d6d2d5729d3be1ad501e3361678a013f already have revision, skipping fetch # git checkout -q -f -B kisskb 452ef502d6d2d5729d3be1ad501e3361678a013f # git clean -qxdf # < git log -1 # commit 452ef502d6d2d5729d3be1ad501e3361678a013f # Author: Gautham R. Shenoy # Date: Fri Mar 8 21:03:24 2019 +0530 # # powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes # # In cpu_to_drc_index() in the case when FW_FEATURE_DRC_INFO is absent, # we currently use of_read_property() to obtain the pointer to the array # corresponding to the property "ibm,drc-indexes". The elements of this # array are of type __be32, but are accessed without any conversion to # the OS-endianness, which is buggy on a Little Endian OS. # # Fix this by using of_property_read_u32_index() accessor function to # safely read the elements of the array. # # Fixes: e83636ac3334 ("pseries/drc-info: Search DRC properties for CPU indexes") # Cc: stable@vger.kernel.org # v4.16+ # Reported-by: Pavithra R. Prakash # Signed-off-by: Gautham R. Shenoy # Reviewed-by: Vaidyanathan Srinivasan # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 452ef502d6d2d5729d3be1ad501e3361678a013f # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_TM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # Added to kconfig CONFIG_PPC_TRANSACTIONAL_MEM=n # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_TM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_TM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] /kisskb/src/net/netfilter/nf_nat_masquerade.c:15:21: warning: 'masq_refcnt6' defined but not used [-Wunused-variable] static unsigned int masq_refcnt6 __read_mostly; ^ /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_stream_data_receive': /kisskb/src/net/sunrpc/xprtsock.c:529:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret < 0 ? ret : read; ^ /kisskb/src/net/sunrpc/xprtsock.c:499:10: note: 'ret' was declared here ssize_t ret; ^ /kisskb/src/net/sunrpc/xprtsock.c:498:15: warning: 'read' may be used uninitialized in this function [-Wmaybe-uninitialized] size_t want, read; ^ Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64_defconfig+NO_TM_powerpc-gcc5 # Build took: 0:01:50.575841