Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp718096rdf; Tue, 21 Nov 2023 14:48:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IGROWZJ2hJksWePZK2lMTOGBN327oiTA6dROhZwUV6eDvgdNbmQZj3xqo0tbO/4il6/uG6e X-Received: by 2002:a05:6a20:3d16:b0:189:b8ce:cebd with SMTP id y22-20020a056a203d1600b00189b8cecebdmr521856pzi.10.1700606883597; Tue, 21 Nov 2023 14:48:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700606883; cv=none; d=google.com; s=arc-20160816; b=ZLAMlvUW+YbKIb/PHKd+fLqRA94AOuJOHq+ea7i6lcybjMgz3cpvoDKQiZjvYcOp56 X4wego9IeL30iib89u8eTrZ+CsOXxgDBnvKBimDU07KFs71ywZgIxT0cE3VVj9KP35YZ jQJIUcgYnEvqCM97kGpPqZuqsA5UuSojqTy8g9Uewd0tBlaGXKuGhOhP6NXMMUk3BVRR Erfzo/pLJw8iAGvAJMHnbsiZMlBAW4hVv6cIX+k3ZCJyVXP0sA1cngwINp58Xbx2Jrsr Lx+Zn3jmc+HU59Y0l/VVJfb6Vo9x0gTLRKTz/gHP5p6GdV6tk/Cy5XvGOJfI7CPrgIIq vaRQ== 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=NmYq8sL4TNyl8WY1NT+pGuV/gukMxS55GaraCq7CimA=; fh=xMYPImBC5FJi/2v7Dcb8b81rVSFR+u6U49jtkbf4IZo=; b=r1I6IOJuXVA0wfrTVQAFT7msLxth8wSZFoRXMx/nJKMGO/sO34Yx1ZZmEB6LJIqked NqNWjCWYdZ5NWUbdT4LJPF7sPfg71s5XmqMErxv6cwXyA1NRDOsOHeZMH3tJYydECBA2 kcCOrvPr+ETwRnntux9FoSxuTA2Eva8B/A1B+LVxkKgIOIWQ+pAD+MF79Eo3IpJ6g2cJ iemj6LSq16t8kuUZZn2ZCPd/j56GFFCrTDNkEAFhULWZxTGAQZqn4/rp8V51NqfaJNt9 CRdt0M6JgMs7lbXqCI42LQIVBz6fJcKaiSjdeiYfnPdTX3TD1shystqMF2Y7/sUfWYjH sKhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=SIw+QDAG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id z26-20020a63191a000000b005be1f94cae8si10888637pgl.378.2023.11.21.14.48.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 14:48:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=SIw+QDAG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D0500801B93F; Tue, 21 Nov 2023 14:47:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234638AbjKUWrv (ORCPT + 99 others); Tue, 21 Nov 2023 17:47:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjKUWru (ORCPT ); Tue, 21 Nov 2023 17:47:50 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AF16191; Tue, 21 Nov 2023 14:47:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1700606861; bh=NmYq8sL4TNyl8WY1NT+pGuV/gukMxS55GaraCq7CimA=; h=Date:From:To:Cc:Subject:From; b=SIw+QDAGozeYgDDRrx3E5wLtTgzBF6sY9g9N0Fy46VMxrni/d4xypOqFUSS36zwWd cgi6x1SPM58p1+ImPOVxHQK2RmdZpvr4SE4Cjc3mvi3+odn6opzEHiFiimDVQwSifS CcHixpL5xftIltp3siEZm1JHhT0q+FThAL7d+BJ0LWYzCIlN/GuaSvwtV0c2Bj74pb E+Q0pHRNaTXrKWj5M+xa3bUzc57NJiKeIc5Vp88vcfjFZzCXjMQdvWHzQRUvcHOhUO 9nJM05auzcLeTwYYnHAlzQIMfls80037SmrJqL/YQWw50j/Toujgpyx6elef5UfTDP A3S6DTCd9Avfg== 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 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SZff54ysNz4wy1; Wed, 22 Nov 2023 09:47:41 +1100 (AEDT) Date: Wed, 22 Nov 2023 09:47:39 +1100 From: Stephen Rothwell To: "Gustavo A. R. Silva" Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build warning after merge of the kspp-gustavo tree Message-ID: <20231122094739.38465ed3@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/fULB/bM7sL6gr_XWM7tBq3a"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 21 Nov 2023 14:48:00 -0800 (PST) --Sig_/fULB/bM7sL6gr_XWM7tBq3a Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the kspp-gustavo tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/linux/string.h:295, from include/linux/bitmap.h:12, from include/linux/cpumask.h:12, from arch/x86/include/asm/paravirt.h:17, from arch/x86/include/asm/cpuid.h:62, from arch/x86/include/asm/processor.h:19, from arch/x86/include/asm/cpufeature.h:5, from arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:60, from arch/x86/include/asm/preempt.h:9, from include/linux/preempt.h:79, from include/linux/spinlock.h:56, from include/linux/mmzone.h:8, from include/linux/gfp.h:7, from include/linux/firmware.h:7, from drivers/net/wireless/realtek/rtw89/core.h:10, from drivers/net/wireless/realtek/rtw89/coex.h:8, from drivers/net/wireless/realtek/rtw89/coex.c:5: drivers/net/wireless/realtek/rtw89/coex.c: In function '_append_tdma': include/linux/fortify-string.h:57:33: warning: writing 8 bytes into a regio= n of size 0 [-Wstringop-overflow=3D] 57 | #define __underlying_memcpy __builtin_memcpy | ^ include/linux/fortify-string.h:644:9: note: in expansion of macro '__underl= ying_memcpy' 644 | __underlying_##op(p, q, __fortify_size); = \ | ^~~~~~~~~~~~~ include/linux/fortify-string.h:689:26: note: in expansion of macro '__forti= fy_memcpy_chk' 689 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, = \ | ^~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/realtek/rtw89/coex.c:1585:17: note: in expansion of ma= cro 'memcpy' 1585 | memcpy(&v3->tdma, &dm->tdma, sizeof(v3->tdma)); | ^~~~~~ drivers/net/wireless/realtek/rtw89/core.h:2703:37: note: at offset [5714, 7= 1249] into destination object 'ver' of size 8 2703 | const struct rtw89_btc_ver *ver; | ^~~ include/linux/fortify-string.h:57:33: warning: writing 8 bytes into a regio= n of size 0 [-Wstringop-overflow=3D] 57 | #define __underlying_memcpy __builtin_memcpy | ^ include/linux/fortify-string.h:644:9: note: in expansion of macro '__underl= ying_memcpy' 644 | __underlying_##op(p, q, __fortify_size); = \ | ^~~~~~~~~~~~~ include/linux/fortify-string.h:689:26: note: in expansion of macro '__forti= fy_memcpy_chk' 689 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, = \ | ^~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/realtek/rtw89/coex.c:1579:17: note: in expansion of ma= cro 'memcpy' 1579 | memcpy(v, &dm->tdma, sizeof(*v)); | ^~~~~~ drivers/net/wireless/realtek/rtw89/core.h:2703:37: note: at offset [5710, 7= 1245] into destination object 'ver' of size 8 2703 | const struct rtw89_btc_ver *ver; | ^~~ Exposed by commit 1b56c90018f0 ("Makefile: Enable -Wstringop-overflow globally") This is with your tree on top of Linus' tree (and some fix patches but nothing that obviously touches anything relevent) and CONFIG_WERROR not set. --=20 Cheers, Stephen Rothwell --Sig_/fULB/bM7sL6gr_XWM7tBq3a Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmVdM4sACgkQAVBC80lX 0GwEhggAmmje/pPzfhu99sAeO/7k4VUlavWHIqM4NS4fpyegkXjWSK6tNhDd1M10 0U55hxcxjvs/N3ettK7Pq5bu7ptc6Utlfq2sFVEAYNi2TBHMee3HrFCU7c6Vks87 ahdNFTlWA3AxqfZ692gUaVlTCie/yUoCecTnA6n9U4wQfH1tJZmc0YFuSZf5X2iT bsT+CGN8jbafJr+20xFrTtBoIswXDrT3geXYy4Vl7y2b2lCj1+faha6H084DGoiY NXd253hgpW1Bs7RJ+1qm4udieXceOCucqvNRAkktvqImO3f6RwBd8nLEYMC6sP1W /CDzovN8kx+HkNdVeZuhUcCpTaqO9A== =5qAR -----END PGP SIGNATURE----- --Sig_/fULB/bM7sL6gr_XWM7tBq3a--