# git rev-parse -q --verify c67099a5bc53d1a24058ba5afe873f16cd290e16^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/stable linux-4.4.y # git rev-parse -q --verify c67099a5bc53d1a24058ba5afe873f16cd290e16^{commit} c67099a5bc53d1a24058ba5afe873f16cd290e16 # git checkout -q -f -B kisskb c67099a5bc53d1a24058ba5afe873f16cd290e16 # git clean -qxdf # < git log -1 # commit c67099a5bc53d1a24058ba5afe873f16cd290e16 # Author: Greg Kroah-Hartman # Date: Sun Oct 17 10:04:44 2021 +0200 # # Linux 4.4.289 # # Link: https://lore.kernel.org/r/20211014145206.330102860@linuxfoundation.org # Tested-by: Jon Hunter # Tested-by: Pavel Machek (CIP) # Tested-by: Shuah Khan # Tested-by: Guenter Roeck # Tested-by: Linux Kernel Functional Testing # Signed-off-by: Greg Kroah-Hartman # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 c67099a5bc53d1a24058ba5afe873f16cd290e16 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/stable-4.4_pseries_le_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/stable-4.4_pseries_le_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/stable-4.4_pseries_le_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/stable-4.4_pseries_le_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/lib/copyuser_power7.S: Assembler messages: /kisskb/src/arch/powerpc/lib/copyuser_power7.S:330: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:331: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:333: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:334: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:336: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:391: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:393: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:397: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:400: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:405: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:410: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:436: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:445: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:466: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:471: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:478: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:481: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:486: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:488: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:568: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:571: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:576: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:581: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:586: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:595: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:621: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:638: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:659: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:668: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:675: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:680: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:685: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:688: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/string_64.S: Assembler messages: /kisskb/src/arch/powerpc/lib/string_64.S:194: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S: Assembler messages: /kisskb/src/arch/powerpc/lib/copypage_power7.S:48: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:49: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:51: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:52: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:54: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:86: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:95: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S: Assembler messages: /kisskb/src/arch/powerpc/lib/memcpy_power7.S:264: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:265: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:266: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:267: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:269: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:324: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:326: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:330: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:333: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:338: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:343: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:369: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:378: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:399: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:404: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:411: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:414: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:419: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:421: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:502: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:505: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:510: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:515: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:520: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:529: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:555: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:572: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:593: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:602: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:609: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:614: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:619: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:622: Warning: invalid register expression /kisskb/src/arch/powerpc/mm/hugetlbpage.c: In function '__find_linux_pte_or_hugepte': cc1: error: function may return address of local variable [-Werror=return-local-addr] /kisskb/src/arch/powerpc/mm/hugetlbpage.c:981:15: note: declared here 981 | pgd_t pgd, *pgdp; | ^~~ cc1: all warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:280: arch/powerpc/mm/hugetlbpage.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1006: arch/powerpc/mm] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/arch/powerpc/kernel/exceptions-64s.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1672: Warning: invalid register expression /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1688: Warning: invalid register expression /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1702: Warning: invalid register expression /kisskb/src/arch/powerpc/kernel/exceptions-64s.S:1876: Warning: invalid register expression /kisskb/src/arch/powerpc/kernel/entry_64.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/entry_64.S:604: Warning: invalid register expression In file included from /kisskb/src/drivers/infiniband/core/roce_gid_mgmt.c:43: In function 'rdma_ip2gid', inlined from 'addr_event' at /kisskb/src/drivers/infiniband/core/roce_gid_mgmt.c:669:2, inlined from 'inetaddr_event' at /kisskb/src/drivers/infiniband/core/roce_gid_mgmt.c:692:9: /kisskb/src/include/rdma/ib_addr.h:170:17: warning: 'memcpy' reading 16 bytes from a region of size 8 [-Wstringop-overread] 170 | memcpy(gid->raw, &((struct sockaddr_in6 *)addr)->sin6_addr, 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/rdma/ib_addr.h: In function 'inetaddr_event': /kisskb/src/drivers/infiniband/core/roce_gid_mgmt.c:684:33: note: at offset 8 into source object 'in' of size 16 684 | struct sockaddr_in in; | ^~ /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c: In function '_base_display_event_data': /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:610:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 610 | if (event_data->DiscoveryStatus) | ^~ In file included from /kisskb/src/include/linux/kernel.h:13, from /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:46: /kisskb/src/include/linux/printk.h:259:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 259 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ /kisskb/src/drivers/scsi/mpt3sas/mpt3sas_base.c:613:25: note: in expansion of macro 'pr_info' 613 | pr_info("\n"); | ^~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c: In function 'lpfc_fdmi_cmd': /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1546:31: warning: 'strnlen' specified bound 64 exceeds source size 4 [-Wstringop-overread] 1546 | len = strnlen(ae->un.SerialNumber, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1547 | sizeof(ae->un.SerialNumber)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:38: /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1235:18: note: source object declared here 1235 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1564:31: warning: 'strnlen' specified bound 256 exceeds source size 4 [-Wstringop-overread] 1564 | len = strnlen(ae->un.Model, sizeof(ae->un.Model)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:38: /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1235:18: note: source object declared here 1235 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1581:31: warning: 'strnlen' specified bound 256 exceeds source size 4 [-Wstringop-overread] 1581 | len = strnlen(ae->un.ModelDescription, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1582 | sizeof(ae->un.ModelDescription)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:38: /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1235:18: note: source object declared here 1235 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1625:31: warning: 'strnlen' specified bound 256 exceeds source size 4 [-Wstringop-overread] 1625 | len = strnlen(ae->un.DriverVersion, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1626 | sizeof(ae->un.DriverVersion)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:38: /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1235:18: note: source object declared here 1235 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1643:31: warning: 'strnlen' specified bound 256 exceeds source size 4 [-Wstringop-overread] 1643 | len = strnlen(ae->un.OptionROMVersion, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1644 | sizeof(ae->un.OptionROMVersion)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:38: /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1235:18: note: source object declared here 1235 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1661:31: warning: 'strnlen' specified bound 256 exceeds source size 4 [-Wstringop-overread] 1661 | len = strnlen(ae->un.FirmwareVersion, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1662 | sizeof(ae->un.FirmwareVersion)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:38: /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1235:18: note: source object declared here 1235 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1683:31: warning: 'strnlen' specified bound 256 exceeds source size 4 [-Wstringop-overread] 1683 | len = strnlen(ae->un.OsNameVersion, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1684 | sizeof(ae->un.OsNameVersion)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:38: /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1235:18: note: source object declared here 1235 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:1878:31: warning: 'strnlen' specified bound 256 exceeds source size 4 [-Wstringop-overread] 1878 | len = strnlen(ae->un.HostName, | ^~~~~~~~~~~~~~~~~~~~~~~~ 1879 | sizeof(ae->un.HostName)); | ~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/scsi/lpfc/lpfc_ct.c:38: /kisskb/src/drivers/scsi/lpfc/lpfc_hw.h:1235:18: note: source object declared here 1235 | uint32_t AttrValue; /* Marks start of Value (ATTRIBUTE_ENTRY) */ | ^~~~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c: In function 'qla24xx_bsg_timeout': /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c:2254:49: warning: overflow in conversion from 'uint32_t' {aka 'unsigned int'} to 'int' changes value from 'bsg_job->reply->result = 4294967291' to '-5' [-Woverflow] 2254 | bsg_job->reply->result = -EIO; | ^~~~~~~ /kisskb/src/drivers/scsi/qla2xxx/qla_bsg.c:2270:32: warning: overflow in conversion from 'uint32_t' {aka 'unsigned int'} to 'int' changes value from 'bsg_job->reply->result = 4294967290' to '-6' [-Woverflow] 2270 | bsg_job->req->errors = bsg_job->reply->result = -ENXIO; | ^~~~~~~ make: *** [Makefile:152: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/stable-4.4_pseries_le_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/stable-4.4_pseries_le_defconfig_powerpc-gcc11 # Build took: 0:02:41.893207