# git rev-parse -q --verify f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb^{commit} f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb already have revision, skipping fetch # git checkout -q -f -B kisskb f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb # git clean -qxdf # < git log -1 # commit f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb # Author: Gustavo A. R. Silva # Date: Tue Jul 6 16:05:26 2021 -0500 # # Input: Fix fall-through warning for Clang # # In preparation to enable -Wimplicit-fallthrough for Clang, fix a # warning by explicitly adding a fallthrough; statement. # # Notice that this seems to be a Duff device for performance[1]. So, # although the code looks a bit _funny_, I didn't want to refactor # or modify it beyond merely adding a fallthrough marking, which # might be the least disruptive way to fix this issue. # # [1] https://www.drdobbs.com/a-reusable-duff-device/184406208 # # Link: https://github.com/KSPP/linux/issues/115 # Signed-off-by: Gustavo A. R. Silva # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb # < make -s -j 48 ARCH=powerpc O=/kisskb/build/gustavoars_mpc85xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/gustavoars_mpc85xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/gustavoars_mpc85xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/gustavoars_mpc85xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, 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] 22 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) | ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # 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' 139 | if (IS_ERR_VALUE(fep->ring_mem_addr)) | ^~~~~~~~~~~~ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: 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 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf21d64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf11638) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:03 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085983 Bytes = 6919.91 KiB = 6.76 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:03 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7121562 Bytes = 6954.65 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:05 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7118776 Bytes = 6951.93 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:06 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7118769 Bytes = 6951.92 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:05 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7120887 Bytes = 6953.99 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:06 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7122626 Bytes = 6955.69 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:06 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7119116 Bytes = 6952.26 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:07 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7118967 Bytes = 6952.12 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:07 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7118768 Bytes = 6951.92 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:07 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7118571 Bytes = 6951.73 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:07 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7122625 Bytes = 6955.69 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:07 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7118661 Bytes = 6951.82 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:08 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7118965 Bytes = 6952.11 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:07 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7119196 Bytes = 6952.34 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:08 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7119233 Bytes = 6952.38 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.13.0-rc2-gf1469e568bf6 Created: Fri Jul 16 00:03:08 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7119979 Bytes = 6953.10 KiB = 6.79 MiB Load Address: 01000000 Entry Point: 010002cc Completed OK # rm -rf /kisskb/build/gustavoars_mpc85xx_defconfig_powerpc-gcc9 # Build took: 0:02:40.022719