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 025A215802F for ; Mon, 13 Mar 2023 11:34:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BAF7E0636; Mon, 13 Mar 2023 11:34:32 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9B587E0636 for ; Mon, 13 Mar 2023 11:34:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A099335D30 for ; Mon, 13 Mar 2023 11:34:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8CCD8D7 for ; Mon, 13 Mar 2023 11:34:28 +0000 (UTC) From: "Alice Ferrazzi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alice Ferrazzi" Message-ID: <1678704364.5472b922a8b76f02336959611a817c6e602e1e58.alicef@gentoo> Subject: [gentoo-commits] proj/linux-patches:5.4 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 1235_linux-5.4.236.patch X-VCS-Directories: / X-VCS-Committer: alicef X-VCS-Committer-Name: Alice Ferrazzi X-VCS-Revision: 5472b922a8b76f02336959611a817c6e602e1e58 X-VCS-Branch: 5.4 Date: Mon, 13 Mar 2023 11:34:28 +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: a1891f97-1e11-40bc-92e7-8ee3a4e5613a X-Archives-Hash: f45d4dae212c60297fc66bb2fb73a57f commit: 5472b922a8b76f02336959611a817c6e602e1e58 Author: Alice Ferrazzi gentoo org> AuthorDate: Mon Mar 13 10:46:04 2023 +0000 Commit: Alice Ferrazzi gentoo org> CommitDate: Mon Mar 13 10:46:04 2023 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=5472b922 Linux patch 5.4.236 Signed-off-by: Alice Ferrazzi gentoo.org> 0000_README | 4 ++ 1235_linux-5.4.236.patch | 104 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) diff --git a/0000_README b/0000_README index 2675ec40..70998c7a 100644 --- a/0000_README +++ b/0000_README @@ -983,6 +983,10 @@ Patch: 1234_linux-5.4.235.patch From: https://www.kernel.org Desc: Linux 5.4.235 +Patch: 1235_linux-5.4.236.patch +From: https://www.kernel.org +Desc: Linux 5.4.236 + Patch: 1500_XATTR_USER_PREFIX.patch From: https://bugs.gentoo.org/show_bug.cgi?id=470644 Desc: Support for namespace user.pax.* on tmpfs. diff --git a/1235_linux-5.4.236.patch b/1235_linux-5.4.236.patch new file mode 100644 index 00000000..5ec28584 --- /dev/null +++ b/1235_linux-5.4.236.patch @@ -0,0 +1,104 @@ +diff --git a/Makefile b/Makefile +index f75275728ce8b..e3b56259d50af 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,7 @@ + # SPDX-License-Identifier: GPL-2.0 + VERSION = 5 + PATCHLEVEL = 4 +-SUBLEVEL = 235 ++SUBLEVEL = 236 + EXTRAVERSION = + NAME = Kleptomaniac Octopus + +diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +index 20e494186c9eb..458ecca00ba1b 100644 +--- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c ++++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +@@ -185,7 +185,6 @@ static void _rtl92e_dm_init_fsync(struct net_device *dev); + static void _rtl92e_dm_deinit_fsync(struct net_device *dev); + + static void _rtl92e_dm_check_txrateandretrycount(struct net_device *dev); +-static void _rtl92e_dm_check_ac_dc_power(struct net_device *dev); + static void _rtl92e_dm_check_fsync(struct net_device *dev); + static void _rtl92e_dm_check_rf_ctrl_gpio(void *data); + static void _rtl92e_dm_fsync_timer_callback(struct timer_list *t); +@@ -238,8 +237,6 @@ void rtl92e_dm_watchdog(struct net_device *dev) + if (priv->being_init_adapter) + return; + +- _rtl92e_dm_check_ac_dc_power(dev); +- + _rtl92e_dm_check_txrateandretrycount(dev); + _rtl92e_dm_check_edca_turbo(dev); + +@@ -257,30 +254,6 @@ void rtl92e_dm_watchdog(struct net_device *dev) + _rtl92e_dm_cts_to_self(dev); + } + +-static void _rtl92e_dm_check_ac_dc_power(struct net_device *dev) +-{ +- struct r8192_priv *priv = rtllib_priv(dev); +- static char const ac_dc_script[] = "/etc/acpi/wireless-rtl-ac-dc-power.sh"; +- char *argv[] = {(char *)ac_dc_script, DRV_NAME, NULL}; +- static char *envp[] = {"HOME=/", +- "TERM=linux", +- "PATH=/usr/bin:/bin", +- NULL}; +- +- if (priv->ResetProgress == RESET_TYPE_SILENT) { +- RT_TRACE((COMP_INIT | COMP_POWER | COMP_RF), +- "GPIOChangeRFWorkItemCallBack(): Silent Reset!!!!!!!\n"); +- return; +- } +- +- if (priv->rtllib->state != RTLLIB_LINKED) +- return; +- call_usermodehelper(ac_dc_script, argv, envp, UMH_WAIT_PROC); +- +- return; +-}; +- +- + void rtl92e_init_adaptive_rate(struct net_device *dev) + { + +@@ -1800,10 +1773,6 @@ static void _rtl92e_dm_check_rf_ctrl_gpio(void *data) + u8 tmp1byte; + enum rt_rf_power_state eRfPowerStateToSet; + bool bActuallySet = false; +- char *argv[3]; +- static char const RadioPowerPath[] = "/etc/acpi/events/RadioPower.sh"; +- static char *envp[] = {"HOME=/", "TERM=linux", "PATH=/usr/bin:/bin", +- NULL}; + + bActuallySet = false; + +@@ -1835,14 +1804,6 @@ static void _rtl92e_dm_check_rf_ctrl_gpio(void *data) + mdelay(1000); + priv->bHwRfOffAction = 1; + rtl92e_set_rf_state(dev, eRfPowerStateToSet, RF_CHANGE_BY_HW); +- if (priv->bHwRadioOff) +- argv[1] = "RFOFF"; +- else +- argv[1] = "RFON"; +- +- argv[0] = (char *)RadioPowerPath; +- argv[2] = NULL; +- call_usermodehelper(RadioPowerPath, argv, envp, UMH_WAIT_PROC); + } + } + +diff --git a/net/wireless/sme.c b/net/wireless/sme.c +index 89b81d4c1095a..a260cd60a7b99 100644 +--- a/net/wireless/sme.c ++++ b/net/wireless/sme.c +@@ -1252,8 +1252,6 @@ int cfg80211_connect(struct cfg80211_registered_device *rdev, + connect->key = NULL; + connect->key_len = 0; + connect->key_idx = 0; +- connect->crypto.cipher_group = 0; +- connect->crypto.n_ciphers_pairwise = 0; + } + + wdev->connect_keys = connkeys;