# git rev-parse -q --verify 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61^{commit} 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61 already have revision, skipping fetch # git checkout -q -f -B kisskb 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61 # git clean -qxdf # < git log -1 # commit 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61 # Author: Christophe Leroy # Date: Wed Aug 8 06:37:03 2018 +0000 # # lib/test_hexdump: fix failure on big endian cpu # # On a big endian cpu, test_hexdump fails as follows. The logs show # that bytes are expected in reversed order. # # [...] # [ 16.643648] test_hexdump: Len: 24 buflen: 130 strlen: 97 # [ 16.648681] test_hexdump: Result: 97 'be32db7b 0a1893b2 70bac424 7d83349b a69c31ad 9c0face9 .2.{....p..$}.4...1.....' # [ 16.660951] test_hexdump: Expect: 97 '7bdb32be b293180a 24c4ba70 9b34837d ad319ca6 e9ac0f9c .2.{....p..$}.4...1.....' # [ 16.673129] test_hexdump: Len: 8 buflen: 130 strlen: 77 # [ 16.678113] test_hexdump: Result: 77 'be32db7b0a1893b2 .2.{....' # [ 16.688660] test_hexdump: Expect: 77 'b293180a7bdb32be .2.{....' # [ 16.699170] test_hexdump: Len: 6 buflen: 131 strlen: 87 # [ 16.704238] test_hexdump: Result: 87 'be32 db7b 0a18 .2.{..' # [ 16.715511] test_hexdump: Expect: 87 '32be 7bdb 180a .2.{..' # [ 16.726864] test_hexdump: Len: 24 buflen: 131 strlen: 97 # [ 16.731902] test_hexdump: Result: 97 'be32db7b 0a1893b2 70bac424 7d83349b a69c31ad 9c0face9 .2.{....p..$}.4...1.....' # [ 16.744175] test_hexdump: Expect: 97 '7bdb32be b293180a 24c4ba70 9b34837d ad319ca6 e9ac0f9c .2.{....p..$}.4...1.....' # [ 16.756379] test_hexdump: Len: 32 buflen: 131 strlen: 101 # [ 16.761507] test_hexdump: Result: 101 'be32db7b0a1893b2 70bac4247d83349b a69c31ad9c0face9 4cd1199943b1af0c .2.{....p..$}.4...1.....L...C...' # [ 16.774212] test_hexdump: Expect: 101 'b293180a7bdb32be 9b34837d24c4ba70 e9ac0f9cad319ca6 0cafb1439919d14c .2.{....p..$}.4...1.....L...C...' # [ 16.786763] test_hexdump: failed 801 out of 1184 tests # # This patch fixes it. # # Fixes: 64d1d77a44697 ("hexdump: introduce test suite") # Signed-off-by: Christophe Leroy # Reviewed-by: Andy Shevchenko # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux-gcc --version # < git log --format=%s --max-count=1 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig+NO_KVM_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- ppc64le_defconfig # Added to kconfig CONFIG_KVM_BOOK3S_64=n # Added to kconfig CONFIG_KVM=n # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig+NO_KVM_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig+NO_KVM_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. WARNING: modpost: Found 3 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64le_defconfig+NO_KVM_ppc64le # Build took: 0:00:57.034454