# 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.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 42cdbd5fbbb3ab88135b1bcaaf76feac958a7a61 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. In file included from /kisskb/src/include/linux/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ arch/powerpc/boot/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb67754) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb56f60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614672 Bytes = 5483.08 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5615547 Bytes = 5483.93 kB = 5.36 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614738 Bytes = 5483.14 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614778 Bytes = 5483.18 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614047 Bytes = 5482.47 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614895 Bytes = 5483.30 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614832 Bytes = 5483.23 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5591247 Bytes = 5460.20 kB = 5.33 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614026 Bytes = 5482.45 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614638 Bytes = 5483.04 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614271 Bytes = 5482.69 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5615302 Bytes = 5483.69 kB = 5.36 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614840 Bytes = 5483.24 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614035 Bytes = 5482.46 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5615603 Bytes = 5483.99 kB = 5.36 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.18.0-rc3-g42cdbd5 Created: Thu Aug 9 23:25:23 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5614737 Bytes = 5483.14 kB = 5.35 MB Load Address: 00c00000 Entry Point: 00c00278 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 # Build took: 0:01:49.202258