# git rev-parse -q --verify a7bf69251dca63319f1b197e1b93583951456cc7^{commit} a7bf69251dca63319f1b197e1b93583951456cc7 already have revision, skipping fetch # git checkout -q -f -B kisskb a7bf69251dca63319f1b197e1b93583951456cc7 # git clean -qxdf # < git log -1 # commit a7bf69251dca63319f1b197e1b93583951456cc7 # Author: Vaibhav Jain # Date: Wed Jul 4 20:58:33 2018 +0530 # # cxl: Fix wrong comparison in cxl_adapter_context_get() # # Function atomic_inc_unless_negative() returns a bool to indicate # success/failure. However cxl_adapter_context_get() wrongly compares # the return value against '>=0' which will always be true. The patch # fixes this comparison to '==0' there by also fixing this compile time # warning: # # drivers/misc/cxl/main.c:290 cxl_adapter_context_get() # warn: 'atomic_inc_unless_negative(&adapter->contexts_num)' is unsigned # # Fixes: 70b565bbdb91 ("cxl: Prevent adapter reset if an active context exists") # Cc: stable@vger.kernel.org # v4.9+ # Reported-by: Dan Carpenter # Signed-off-by: Vaibhav Jain # Acked-by: Andrew Donnellan # Acked-by: Frederic Barrat # 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 a7bf69251dca63319f1b197e1b93583951456cc7 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_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. arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51352c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x523c44) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.18.0-rc3-ga7bf692 Created: Thu Jul 19 03:55:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2617684 Bytes = 2556.33 kB = 2.50 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc3-ga7bf692 Created: Thu Jul 19 03:55:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2642646 Bytes = 2580.71 kB = 2.52 MB Load Address: 00600000 Entry Point: 0060110c Image Name: Linux-4.18.0-rc3-ga7bf692 Created: Thu Jul 19 03:55:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2642913 Bytes = 2580.97 kB = 2.52 MB Load Address: 00600000 Entry Point: 006000a8 Image Name: Linux-4.18.0-rc3-ga7bf692 Created: Thu Jul 19 03:55:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2642861 Bytes = 2580.92 kB = 2.52 MB Load Address: 00600000 Entry Point: 00601104 Image Name: Linux-4.18.0-rc3-ga7bf692 Created: Thu Jul 19 03:55:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2642971 Bytes = 2581.03 kB = 2.52 MB Load Address: 00600000 Entry Point: 006010fc Image Name: Linux-4.18.0-rc3-ga7bf692 Created: Thu Jul 19 03:55:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2643012 Bytes = 2581.07 kB = 2.52 MB Load Address: 00600000 Entry Point: 006010ec Image Name: Linux-4.18.0-rc3-ga7bf692 Created: Thu Jul 19 03:55:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2642834 Bytes = 2580.89 kB = 2.52 MB Load Address: 00600000 Entry Point: 00601110 Image Name: Linux-4.18.0-rc3-ga7bf692 Created: Thu Jul 19 03:55:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2642693 Bytes = 2580.75 kB = 2.52 MB Load Address: 00600000 Entry Point: 0060018c Image Name: Linux-4.18.0-rc3-ga7bf692 Created: Thu Jul 19 03:55:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2642805 Bytes = 2580.86 kB = 2.52 MB Load Address: 00600000 Entry Point: 006010f8 Image Name: Linux-4.18.0-rc3-ga7bf692 Created: Thu Jul 19 03:55:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2642942 Bytes = 2581.00 kB = 2.52 MB Load Address: 00600000 Entry Point: 00601104 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-5.3 # Build took: 0:00:49.145909