From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8D8D8158090 for ; Tue, 24 May 2022 21:02:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE944E07DB; Tue, 24 May 2022 21:02:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 8CE45E07DB for ; Tue, 24 May 2022 21:02:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 753ED3417E7 for ; Tue, 24 May 2022 21:02:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2F4D47E for ; Tue, 24 May 2022 21:02:11 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1653426063.500df47c29eddf6c891238c1454aa01d10f6f2a5.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:5.18 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 1700_sparc-address-warray-bound-warnings.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 500df47c29eddf6c891238c1454aa01d10f6f2a5 X-VCS-Branch: 5.18 Date: Tue, 24 May 2022 21:02:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cad4f728-c772-4cd2-aeda-82212a4a8a10 X-Archives-Hash: 1dd7d32bcc73b221970bab41c328366f commit: 500df47c29eddf6c891238c1454aa01d10f6f2a5 Author: Mike Pagano gentoo org> AuthorDate: Tue May 24 21:01:03 2022 +0000 Commit: Mike Pagano gentoo org> CommitDate: Tue May 24 21:01:03 2022 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=500df47c Address -Warray-bounds warnings on sparc See: https://github.com/KSPP/linux/issues/109 Bug: https://bugs.gentoo.org/847124 Signed-off-by: Mike Pagano gentoo.org> 0000_README | 4 ++++ 1700_sparc-address-warray-bound-warnings.patch | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/0000_README b/0000_README index f8cc57f0..298c5715 100644 --- a/0000_README +++ b/0000_README @@ -51,6 +51,10 @@ Patch: 1510_fs-enable-link-security-restrictions-by-default.patch From: http://sources.debian.net/src/linux/3.16.7-ckt4-3/debian/patches/debian/fs-enable-link-security-restrictions-by-default.patch/ Desc: Enable link security restrictions by default. +Patch: 1700_sparc-address-warray-bound-warnings.patch +From: https://github.com/KSPP/linux/issues/109 +Desc: Address -Warray-bounds warnings + Patch: 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch From: https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-marcel@holtmann.org/raw Desc: Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. See bug #686758 diff --git a/1700_sparc-address-warray-bound-warnings.patch b/1700_sparc-address-warray-bound-warnings.patch new file mode 100644 index 00000000..f9393555 --- /dev/null +++ b/1700_sparc-address-warray-bound-warnings.patch @@ -0,0 +1,17 @@ +--- a/arch/sparc/mm/init_64.c 2022-05-24 16:48:40.749677491 -0400 ++++ b/arch/sparc/mm/init_64.c 2022-05-24 16:55:15.511356945 -0400 +@@ -3052,11 +3052,11 @@ static inline resource_size_t compute_ke + static void __init kernel_lds_init(void) + { + code_resource.start = compute_kern_paddr(_text); +- code_resource.end = compute_kern_paddr(_etext - 1); ++ code_resource.end = compute_kern_paddr(_etext) - 1; + data_resource.start = compute_kern_paddr(_etext); +- data_resource.end = compute_kern_paddr(_edata - 1); ++ data_resource.end = compute_kern_paddr(_edata) - 1; + bss_resource.start = compute_kern_paddr(__bss_start); +- bss_resource.end = compute_kern_paddr(_end - 1); ++ bss_resource.end = compute_kern_paddr(_end) - 1; + } + + static int __init report_memory(void)