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.5-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.5 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
@@ -44,7 +44,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.5/rapidio-tsi721-fix-inbound-doorbell-interrupt-handling.patch
queue-3.5/mm-hugetlbfs-correctly-populate-shared-pmd.patch
queue-3.5/drm-stop-vmgfx-driver-explosion.patch
queue-3.5/nfsv4.1-remove-a-bogus-bug_on-in-nfs4_layoutreturn_done.patch
queue-3.5/vfs-missed-source-of-f_pos-races.patch
queue-3.5/target-fix-null-pointer-dereference-bug-alloc_page-fails-to-get-memory.patch
queue-3.5/arm-imx-select-cpu_freq_table-when-needed.patch
queue-3.5/sched-cgroup-fix-up-task_groups-list.patch
queue-3.5/ath9k-stop-btcoex-on-device-suspend.patch
queue-3.5/arm-7487-1-mm-avoid-setting-ng-bit-for-user-mappings-that-aren-t-present.patch
queue-3.5/usb-p54usb-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.5/audit-fix-refcounting-in-audit-tree.patch
queue-3.5/arm-7489-1-errata-fix-workaround-for-erratum-720789-on-up-systems.patch
queue-3.5/pnfs-defer-release-of-pages-in-layoutget.patch
queue-3.5/xen-p2m-reuse-existing-p2m-leafs-if-they-are-filled-with-1-1-pfns-or-invalid.patch
queue-3.5/revert-drm-radeon-fix-bo-creation-retry-path.patch
queue-3.5/arm-imx-build-pm-imx5-code-only-when-pm-is-enabled.patch
queue-3.5/usb-emi62-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.5/ubifs-fix-crash-on-error-path.patch
queue-3.5/usb-jl2005bcd-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.5/alsa-hda-fix-leftover-codec-power_transition.patch
queue-3.5/nfs-alias-the-nfs-module-to-nfs4.patch
queue-3.5/usb-spca506-remove-__devinit-from-the-struct.patch
queue-3.5/ath9k-fix-decrypt_error-initialization-in-ath_rx_tasklet.patch
queue-3.5/audit-don-t-free_chunk-after-fsnotify_add_mark.patch
queue-3.5/svcrpc-fix-bug-in-svc_tcp_clear_pages.patch
queue-3.5/alpha-fix-fpu.h-usage-in-userspace.patch
queue-3.5/x32-use-compat-shims-for-g-s-etsockopt.patch
queue-3.5/arm-imx6-spin-the-cpu-until-hardware-takes-it-down.patch
queue-3.5/arm-7488-1-mm-use-5-bits-for-swapfile-type-encoding.patch
queue-3.5/alsa-hda-don-t-create-dysfunctional-mixer-controls-for-ca0132.patch
queue-3.5/alsa-hda-fix-copyright-debug-message.patch
queue-3.5/uvcvideo-reset-the-bytesused-field-when-recycling-an-erroneous-buffer.patch
queue-3.5/arm-7483-1-vfp-only-advertise-vfpv4-in-hwcaps-if-config_vfpv3-is-enabled.patch
queue-3.5/svcrpc-sends-on-closed-socket-should-stop-immediately.patch
queue-3.5/btrfs-revert-checksum-error-statistic-which-can-cause-a-bug.patch
queue-3.5/sched-fix-divide-by-zero-at-thread_group-task-_times.patch
queue-3.5/bluetooth-set-name_state-to-unknown-when-entry-name-is-empty.patch
queue-3.5/nfsv3-ensure-that-do_proc_get_root-reports-errors-correctly.patch
queue-3.5/asoc-omap-mcbsp-fix-6pin-mux-configuration.patch
queue-3.5/regulator-twl-regulator-fix-up-vintana1-vintana2.patch
queue-3.5/usb-cdc-acm-fix-null-pointer-dereference.patch
queue-3.5/alpha-don-t-export-sock_nonblock-to-user-space.patch
queue-3.5/usb-vt6656-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.5/cciss-fix-incorrect-scsi-status-reporting.patch
queue-3.5/arm-s3c24xx-add-missing-dmach_dt_prop.patch
queue-3.5/pci-ehci-fix-crash-during-hibernation-on-asus-computers.patch
queue-3.5/arm-imx-build-i.mx6-functions-only-when-needed.patch
queue-3.5/mips-pci-ar724x-avoid-data-bus-error-due-to-a-missing-pcie-module.patch
queue-3.5/svcrpc-fix-svc_xprt_enqueue-svc_recv-busy-looping.patch
queue-3.5/acpi-export-symbol-acpi_get_table_with_size.patch
queue-3.5/gma500-consider-crtc-initially-active.patch
queue-3.5/nfsd4-fix-security-flavor-of-nfsv4.0-callback.patch
queue-3.5/jbd-don-t-write-superblock-when-unmounting-an-ro-filesystem.patch
queue-3.5/usb-smsusb-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.5/bluetooth-fix-using-a-null-inquiry-cache-entry.patch
queue-3.5/bluetooth-fix-using-null-inquiry-entry.patch
queue-3.5/usb-winbond-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.5/rapidio-tsi721-fix-unused-variable-compiler-warning.patch
queue-3.5/nfs-tear-down-caches-in-nfs_init_writepagecache-when-allocation-fails.patch
queue-3.5/xen-setup-fix-one-off-error-when-adding-for-balloon-pfns-to-the-p2m.patch
queue-3.5/usb-rtl8187-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.5/arm-omap2-fix-dmtimer-set-source-clock-failure.patch
queue-3.5/block-replace-__getblk_slow-misfix-by-grow_dev_page-fix.patch
queue-3.5/nfs-clear-key-construction-data-if-the-idmap-upcall-fails.patch
queue-3.5/bluetooth-fix-legacy-pairing-with-some-devices.patch
queue-3.5/arm-s3c24xx-fix-s3c2410_dma_enqueue-parameters.patch
queue-3.5/vfs-canonicalize-create-mode-in-build_open_flags.patch
queue-3.5/nfs-return-enokey-when-the-upcall-fails-to-map-the-name.patch
queue-3.5/asoc-wm9712-fix-microphone-source-selection.patch
queue-3.5/alsa-usb-audio-fix-scheduling-while-atomic-bug-in-pcm-capture-stream.patch
queue-3.5/ubifs-fix-complaints-about-too-small-debug-buffer-size.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