1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Add first test for kernel 6.10 support

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-07-05 19:38:23 +02:00
parent f735d6c75a
commit f023e9c6e5
271 changed files with 57306 additions and 14 deletions

View file

@ -0,0 +1,28 @@
--- a/backport-include/linux/pci.h 2024-07-03 18:45:28.024510047 +0200
+++ b/backport-include/linux/pci.h 2024-07-03 18:46:14.367774516 +0200
@@ -53,9 +53,11 @@
#define PCI_IRQ_LEGACY (1 << 0) /* Allow legacy interrupts */
#define PCI_IRQ_MSI (1 << 1) /* Allow MSI interrupts */
#define PCI_IRQ_MSIX (1 << 2) /* Allow MSI-X interrupts */
+#ifndef PCI_IRQ_ALL_TYPES
#define PCI_IRQ_ALL_TYPES \
(PCI_IRQ_LEGACY | PCI_IRQ_MSI | PCI_IRQ_MSIX)
#endif
+#endif
#if defined(CONFIG_PCI)
#if LINUX_VERSION_IS_LESS(5,3,0)
--- a/net/mac80211/debugfs_netdev.c 2024-07-05 17:33:05.206221266 +0200
+++ b/net/mac80211/debugfs_netdev.c 2024-07-05 17:33:54.873419224 +0200
@@ -31,9 +31,9 @@
char buf[200];
ssize_t ret = -EINVAL;
- read_lock(&dev_base_lock);
+ rcu_read_lock();
ret = (*format)(data, buf, sizeof(buf));
- read_unlock(&dev_base_lock);
+ rcu_read_unlock();
if (ret >= 0)
ret = simple_read_from_buffer(userbuf, count, ppos, buf, ret);

View file

@ -0,0 +1,10 @@
--- a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c 2024-07-03 19:59:46.724206025 +0200
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c 2024-07-03 19:59:56.696041840 +0200
@@ -696,7 +696,6 @@
mvm->tz_device.tzone = thermal_zone_device_register_with_trips(name,
mvm->tz_device.trips,
IWL_MAX_DTS_TRIPS,
- IWL_WRITABLE_TRIPS_MSK,
mvm, &tzone_ops,
NULL, 0, 0);
if (IS_ERR(mvm->tz_device.tzone)) {