Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp625356pxb; Tue, 1 Feb 2022 07:13:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmVYYtSq6XolvPyzHQ/Vlf+qnvJyOGy+Ai/EUOkXZKtZP6udsVYydySa2hdJ+cteqc42Cy X-Received: by 2002:a17:906:1d14:: with SMTP id n20mr21383190ejh.714.1643728419196; Tue, 01 Feb 2022 07:13:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643728419; cv=none; d=google.com; s=arc-20160816; b=R5RphCaG/qRUXkQ/s3LCeTHQvWa7nwvISfkfX1x8mDeYIMdM9T2V6x9mUA/Uuk9pEC kDwJotz2+vRYTkUtWOc12VxDC7/h+fnUqBcEDdVTOe6Y2AUzkkJVWve/Wldz9Ov3ZxaH hur9IRESfZfqERE2LOtH0XF7Arrcv+4g53O2CLNW3UUu2DHABzFmlD1qZPBtGY4MLO2Y n61PgVnOYzDEknVm1JrylTK2xpTrPxLV4dte4NinVJ/RRGzplutIQAwl6P7ZvXBbfM/F WBVqQ0z+Mk5npDs1MqRKaR5YTBW4iM+Q0uEQNOKqv9YJ/D9xM6n15ipXOzsHwofgjW9I YaSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=bDpsJoZWES//hT1pTNftPxhCHGgocAa0nMe8EX/9mA0=; b=gjSJ1nmnlzu3svcC2OodWdpLxMUyIB+fr+LLfwh9ka8NYDgUqtf1sgISW1yP+y5yQq tNg+ucfjyCFJqhsNEKF2fx9+X+FzdbYeS4lZnbSgoKT6xmRiD/L4xCOsmeAcXFfCjupc YrRMY9qa5Wci1OiF8YPkYbERcMbMJ/GUoG+pnPfNNIR9+cSgfwCHJDHTpKpfTA/EY2+h q7owZjrDGoSNk55o1qex3mgYSCl1T/OA3fhu8tw94iszg5rTL3QuT2fspME02qBsXqta t/qztkjwJf/Zf5QfZ1RhdGm6wsIIrasDT9M5m7csCuFFpQaQQ8GsOwYpq8RsWDguAjwx +mBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=kdmvn6gr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kx3si9998914ejc.685.2022.02.01.07.13.13; Tue, 01 Feb 2022 07:13:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=kdmvn6gr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234584AbiA3XKC (ORCPT + 99 others); Sun, 30 Jan 2022 18:10:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233819AbiA3XKB (ORCPT ); Sun, 30 Jan 2022 18:10:01 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee2:21ea]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E719CC061714; Sun, 30 Jan 2022 15:10:00 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Jn6NM4bKkz4xRB; Mon, 31 Jan 2022 10:09:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1643584195; bh=bDpsJoZWES//hT1pTNftPxhCHGgocAa0nMe8EX/9mA0=; h=Date:From:To:Cc:Subject:From; b=kdmvn6grKXsB/4rdyx3o3I3cofHcTXQ/LbvvvOhUEMj9JcthWq7oc/z0HkHpd4Qli y8gGWOj5O8uwqkv6sROMLbi+GbPmGQUjSetrWFJocvkyT5D2lXuvBWlevD+YfCNGch 7TJexujRAQRMua3AUvqOjPRG6132rut3udkb2kO5+tcPPuB44xWgsJM9dgke/+Rgnj 6QQ8t57aRlUWcMCSaIyTMAjv8VF3JaO+1+tgjwLb2SwHqpw8SvtxtgHqlClP13gDi+ 6wzjMl9jGdkoWTJ9zpvF3ocvKQjvfoJh01e8OvQgbCgSovECHmt4g08Cy1eUywjK77 nI9pUGrqY+P/Q== Date: Mon, 31 Jan 2022 10:09:54 +1100 From: Stephen Rothwell To: Kees Cook Cc: Leon Romanovsky , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the kspp tree Message-ID: <20220131100954.74a2034f@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/zu4q6q2/mkBU.yay6bQj.rh"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/zu4q6q2/mkBU.yay6bQj.rh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the kspp tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from include/linux/string.h:253, from include/linux/bitmap.h:11, from include/linux/cpumask.h:12, from arch/x86/include/asm/cpumask.h:5, from arch/x86/include/asm/msr.h:11, from arch/x86/include/asm/processor.h:22, from arch/x86/include/asm/timex.h:5, from include/linux/timex.h:65, from include/linux/time32.h:13, from include/linux/time.h:60, from include/linux/skbuff.h:15, from include/linux/tcp.h:17, from drivers/net/ethernet/mellanox/mlx5/core/en_tx.c:33: In function 'fortify_memcpy_chk', inlined from 'mlx5e_insert_vlan' at drivers/net/ethernet/mellanox/mlx5/= core/en_tx.c:211:2, inlined from 'mlx5e_sq_xmit_wqe' at drivers/net/ethernet/mellanox/mlx5/= core/en_tx.c:496:4: include/linux/fortify-string.h:325:25: error: call to '__write_overflow_fie= ld' declared with attribute warning: detected write beyond size of field (1= st parameter); maybe use struct_group()? [-Werror=3Dattribute-warning] 325 | __write_overflow_field(p_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/string.h:253, from include/linux/bitmap.h:11, from include/linux/cpumask.h:12, from arch/x86/include/asm/cpumask.h:5, from arch/x86/include/asm/msr.h:11, from arch/x86/include/asm/processor.h:22, from arch/x86/include/asm/timex.h:5, from include/linux/timex.h:65, from include/linux/time32.h:13, from include/linux/time.h:60, from include/linux/ktime.h:24, from include/linux/timer.h:6, from include/linux/netdevice.h:24, from include/trace/events/xdp.h:8, from include/linux/bpf_trace.h:5, from drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c:33: In function 'fortify_memcpy_chk', inlined from 'mlx5e_xmit_xdp_frame' at drivers/net/ethernet/mellanox/ml= x5/core/en/xdp.c:344:3: include/linux/fortify-string.h:325:25: error: call to '__write_overflow_fie= ld' declared with attribute warning: detected write beyond size of field (1= st parameter); maybe use struct_group()? [-Werror=3Dattribute-warning] 325 | __write_overflow_field(p_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Caused by various commits in the mlx5 driver interacting with the new memcpy checking. I have disabled CONFIG_MLX5_CORE_EN for today while this gets sorted out properly. --=20 Cheers, Stephen Rothwell --Sig_/zu4q6q2/mkBU.yay6bQj.rh Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmH3GsIACgkQAVBC80lX 0GwP6Qf9EISBThaLkN39k4EX2CoZ3A7N1cqf1QaL/+IEsaOCxaX8BOcMyvj/D2dA kZ/w+ZAnGOeeLTWgDE4phA05h7wKZ09HTjM+6kuQH4nm9NjylxC9VfJp+Fxi6W5S CjN+lGRrtO7I/+eJPA7BTy3pH0sBGwBcLy+ZlVdbO/zrm+6TlFkYqXzgJJgNazmE xSuC/WVvRTv1PBfo7Rjp8VD0XiYOsK46ovJP3tYA51BzhepyWcl0yduBAzjWB/wp 7pnjWOaBmHeo2VHmSQo+71+IlteslG7tSlO87c9XAoL0FWB0MmeW9CX82TMU4H8h YfnbU02OM7AUMfYVFCEobwTwHlf0jQ== =Nn/o -----END PGP SIGNATURE----- --Sig_/zu4q6q2/mkBU.yay6bQj.rh--