Patch "Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE"" has been added to the 6.3-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE"

to the 6.3-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     revert-staging-rtl8192e-replace-macro-rtl_pci_device-with-pci_device.patch
and it can be found in the queue-6.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 47de7971108b44c0c139479358e8ed92f646cbf4 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Jun 2023 12:06:32 +0200
Subject: Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE"

From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

This reverts commit 21d58e5ac3062e931d9f5a9eb58a6caacb910856 which is
commit fda2093860df4812d69052a8cf4997e53853a340 upstream.

Ben reports that this should not have been backported to the older
kernels as the rest of the macro is not empty.  It was a clean-up patch
in 6.4-rc1 only, it did not add new device ids.

Reported-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
Cc: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx>
Cc: Sasha Levin <sashal@xxxxxxxxxx>
Link: https://lore.kernel.org/r/aa0d401a7f63448cd4c2fe4a2d7e8495d9aa123e.camel@xxxxxxxxxxxxxxx
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c |    6 +++---
 drivers/staging/rtl8192e/rtl8192e/rtl_core.h |    5 +++++
 2 files changed, 8 insertions(+), 3 deletions(-)

--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
@@ -48,9 +48,9 @@ static const struct rtl819x_ops rtl819xp
 };
 
 static struct pci_device_id rtl8192_pci_id_tbl[] = {
-	{PCI_DEVICE(0x10ec, 0x8192)},
-	{PCI_DEVICE(0x07aa, 0x0044)},
-	{PCI_DEVICE(0x07aa, 0x0047)},
+	{RTL_PCI_DEVICE(0x10ec, 0x8192, rtl819xp_ops)},
+	{RTL_PCI_DEVICE(0x07aa, 0x0044, rtl819xp_ops)},
+	{RTL_PCI_DEVICE(0x07aa, 0x0047, rtl819xp_ops)},
 	{}
 };
 
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h
@@ -55,6 +55,11 @@
 #define IS_HARDWARE_TYPE_8192SE(_priv)		\
 	(((struct r8192_priv *)rtllib_priv(dev))->card_8192 == NIC_8192SE)
 
+#define RTL_PCI_DEVICE(vend, dev, cfg) \
+	.vendor = (vend), .device = (dev), \
+	.subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, \
+	.driver_data = (kernel_ulong_t)&(cfg)
+
 #define TOTAL_CAM_ENTRY		32
 #define CAM_CONTENT_COUNT	8
 


Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are

queue-6.3/bluetooth-refcnt-drop-must-be-placed-last-in-hci_conn_unlink.patch
queue-6.3/mptcp-add-address-into-userspace-pm-list.patch
queue-6.3/input-fix-open-count-when-closing-inhibited-device.patch
queue-6.3/ksmbd-check-the-validation-of-pdu_size-in-ksmbd_conn_handler_loop.patch
queue-6.3/ext4-only-check-dquot_initialize_needed-when-debugging.patch
queue-6.3/bluetooth-fix-potential-double-free-caused-by-hci_conn_unlink.patch
queue-6.3/alsa-hda-fix-kctl-id-initialization.patch
queue-6.3/bluetooth-hci_qca-fix-debugfs-registration.patch
queue-6.3/mptcp-update-userspace-pm-infos.patch
queue-6.3/input-psmouse-fix-oob-access-in-elantech-protocol.patch
queue-6.3/alsa-hda-realtek-add-quirk-for-clevo-ns50au.patch
queue-6.3/alsa-ice1712-ice1724-fix-the-kcontrol-id-initialization.patch
queue-6.3/drm-amd-pm-fix-power-context-allocation-in-smu13.patch
queue-6.3/bluetooth-fix-debugfs-registration.patch
queue-6.3/usb-usbfs-enforce-page-requirements-for-mmap.patch
queue-6.3/ksmbd-fix-out-of-bound-read-in-deassemble_neg_contexts.patch
queue-6.3/drm-amdgpu-change-reserved-vram-info-print.patch
queue-6.3/mm-page_table_check-make-it-dependent-on-exclusive_system_ram.patch
queue-6.3/soc-qcom-icc-bwmon-fix-incorrect-error-code-passed-to-dev_err_probe.patch
queue-6.3/alsa-hda-realtek-add-a-quirk-for-hp-slim-desktop-s01.patch
queue-6.3/drm-amd-disallow-s0ix-without-bios-support-again.patch
queue-6.3/revert-ext4-don-t-clear-sb_rdonly-when-remounting-r-w-until-quota-is-re-enabled.patch
queue-6.3/ksmbd-fix-out-of-bound-read-in-parse_lease_state.patch
queue-6.3/accel-ivpu-fix-sporadic-vpu-boot-failure.patch
queue-6.3/alsa-hda-realtek-add-lenovo-p3-tower-platform.patch
queue-6.3/bluetooth-fix-use-after-free-in-hci_remove_ltk-hci_remove_irk.patch
queue-6.3/drm-i915-gt-use-the-correct-error-value-when-kernel_context-fails.patch
queue-6.3/can-j1939-change-j1939_netdev_lock-type-to-mutex.patch
queue-6.3/alsa-hda-realtek-add-quirks-for-asus-rog-2024-laptops-using-cs35l41.patch
queue-6.3/drm-amd-display-add-odm-case-when-looking-for-first-split-pipe.patch
queue-6.3/input-xpad-delete-a-razer-deathadder-mouse-vid-pid-entry.patch
queue-6.3/revert-staging-rtl8192e-replace-macro-rtl_pci_device-with-pci_device.patch
queue-6.3/can-j1939-j1939_sk_send_loop_abort-improved-error-queue-handling-in-j1939-socket.patch
queue-6.3/drm-amdgpu-fix-xclk-freq-on-chip_stoney.patch
queue-6.3/drm-amd-pm-conditionally-disable-pcie-lane-switching-for-some-sienna_cichlid-skus.patch
queue-6.3/alsa-gus-fix-kctl-id-initialization.patch
queue-6.3/selftests-mptcp-update-userspace-pm-addr-tests.patch
queue-6.3/bluetooth-fix-uaf-in-hci_conn_hash_flush-again.patch
queue-6.3/wifi-rtw89-correct-ps-calculation-for-supports_dynamic_ps.patch
queue-6.3/selftests-mptcp-update-userspace-pm-subflow-tests.patch
queue-6.3/alsa-cmipci-fix-kctl-id-initialization.patch
queue-6.3/ceph-fix-use-after-free-bug-for-inodes-when-flushing-capsnaps.patch
queue-6.3/can-j1939-avoid-possible-use-after-free-when-j1939_can_rx_register-fails.patch
queue-6.3/batman-adv-broken-sync-while-rescheduling-delayed-work.patch
queue-6.3/virtio_net-use-control_buf-for-coalesce-params.patch
queue-6.3/alsa-ymfpci-fix-kctl-id-initialization.patch
queue-6.3/s390-dasd-use-correct-lock-while-counting-channel-queue-length.patch
queue-6.3/tee-amdtee-add-return_origin-to-struct-tee_cmd_load_ta.patch
queue-6.3/usb-usbfs-use-consistent-mmap-functions.patch
queue-6.3/rbd-get-snapshot-context-after-exclusive-lock-is-ensured-to-be-held.patch
queue-6.3/ksmbd-fix-posix_acls-and-acls-dereferencing-possible-err_ptr.patch
queue-6.3/wifi-rtw88-correct-ps-calculation-for-supports_dynamic_ps.patch
queue-6.3/wifi-iwlwifi-mvm-fix-warray-bounds-bug-in-iwl_mvm_wait_d3_notif.patch
queue-6.3/pinctrl-meson-axg-add-missing-gpioa_18-gpio-group.patch
queue-6.3/rbd-move-rbd_obj_flag_copyup_enabled-flag-setting.patch
queue-6.3/accel-ivpu-do-not-trigger-extra-vpu-reset-if-the-vpu-is-idle.patch
queue-6.3/mptcp-only-send-rm_addr-in-nl_cmd_remove.patch
queue-6.3/mm-page_table_check-ensure-user-pages-are-not-slab-pages.patch
queue-6.3/drm-amd-display-reduce-sdp-bw-after-urgent-to-90.patch
queue-6.3/input-cyttsp5-fix-array-length.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux