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

    USB: rtl8187: remove __devinit* from the struct usb_device_id table

to the 3.0-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:
     usb-rtl8187-remove-__devinit-from-the-struct-usb_device_id-table.patch
and it can be found in the queue-3.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From a3433179d0822ccfa8e80aa4d1d52843bd2dcc63 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <[email protected]>
Date: Fri, 17 Aug 2012 17:48:29 -0700
Subject: USB: rtl8187: remove __devinit* from the struct usb_device_id table

From: Greg Kroah-Hartman <[email protected]>

commit a3433179d0822ccfa8e80aa4d1d52843bd2dcc63 upstream.

This structure needs to always stick around, even if CONFIG_HOTPLUG
is disabled, otherwise we can oops when trying to probe a device that
was added after the structure is thrown away.

Thanks to Fengguang Wu and Bjørn Mork for tracking this issue down.

Reported-by: Fengguang Wu <[email protected]>
Reported-by: Bjørn Mork <[email protected]>
CC: Herton Ronaldo Krzesinski <[email protected]>
CC: Hin-Tak Leung <[email protected]>
CC: Larry Finger <[email protected]>
CC: "John W. Linville" <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/net/wireless/rtl818x/rtl8187/dev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/wireless/rtl818x/rtl8187/dev.c
+++ b/drivers/net/wireless/rtl818x/rtl8187/dev.c
@@ -43,7 +43,7 @@ MODULE_AUTHOR("Larry Finger <Larry.Finge
 MODULE_DESCRIPTION("RTL8187/RTL8187B USB wireless driver");
 MODULE_LICENSE("GPL");
 
-static struct usb_device_id rtl8187_table[] __devinitdata = {
+static struct usb_device_id rtl8187_table[] = {
        /* Asus */
        {USB_DEVICE(0x0b05, 0x171d), .driver_info = DEVICE_RTL8187},
        /* Belkin */


Patches currently in stable-queue which might be from 
[email protected] are

queue-3.0/mm-hugetlbfs-correctly-populate-shared-pmd.patch
queue-3.0/nfsv4.1-remove-a-bogus-bug_on-in-nfs4_layoutreturn_done.patch
queue-3.0/vfs-missed-source-of-f_pos-races.patch
queue-3.0/arm-imx-select-cpu_freq_table-when-needed.patch
queue-3.0/arm-7487-1-mm-avoid-setting-ng-bit-for-user-mappings-that-aren-t-present.patch
queue-3.0/usb-p54usb-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.0/audit-fix-refcounting-in-audit-tree.patch
queue-3.0/arm-7489-1-errata-fix-workaround-for-erratum-720789-on-up-systems.patch
queue-3.0/usb-emi62-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.0/nfs-alias-the-nfs-module-to-nfs4.patch
queue-3.0/usb-spca506-remove-__devinit-from-the-struct.patch
queue-3.0/ath9k-fix-decrypt_error-initialization-in-ath_rx_tasklet.patch
queue-3.0/audit-don-t-free_chunk-after-fsnotify_add_mark.patch
queue-3.0/svcrpc-fix-bug-in-svc_tcp_clear_pages.patch
queue-3.0/arm-7488-1-mm-use-5-bits-for-swapfile-type-encoding.patch
queue-3.0/alsa-hda-fix-copyright-debug-message.patch
queue-3.0/svcrpc-sends-on-closed-socket-should-stop-immediately.patch
queue-3.0/nfsv3-ensure-that-do_proc_get_root-reports-errors-correctly.patch
queue-3.0/usb-cdc-acm-fix-null-pointer-dereference.patch
queue-3.0/alpha-don-t-export-sock_nonblock-to-user-space.patch
queue-3.0/usb-vt6656-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.0/cciss-fix-incorrect-scsi-status-reporting.patch
queue-3.0/pci-ehci-fix-crash-during-hibernation-on-asus-computers.patch
queue-3.0/svcrpc-fix-svc_xprt_enqueue-svc_recv-busy-looping.patch
queue-3.0/acpi-export-symbol-acpi_get_table_with_size.patch
queue-3.0/usb-smsusb-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.0/usb-winbond-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.0/usb-rtl8187-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.0/block-replace-__getblk_slow-misfix-by-grow_dev_page-fix.patch
queue-3.0/arm-s3c24xx-fix-s3c2410_dma_enqueue-parameters.patch
queue-3.0/vfs-canonicalize-create-mode-in-build_open_flags.patch
queue-3.0/asoc-wm9712-fix-microphone-source-selection.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to