[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-stable-commits
Subject:    Patch "USB: jl2005bcd: remove __devinit* from the struct usb_device_id table" has been added to the
From:       <gregkh () linuxfoundation ! org>
Date:       2012-08-31 21:38:57
Message-ID: 1346449137422 () kroah ! org
[Download RAW message or body]


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

    USB: jl2005bcd: 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-jl2005bcd-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 <stable@vger.kernel.org> know about it.


From ec063351684298e295dc9444d143ddfd6ab02df8 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Fri, 17 Aug 2012 17:48:27 -0700
Subject: USB: jl2005bcd: remove __devinit* from the struct usb_device_id table

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit ec063351684298e295dc9444d143ddfd6ab02df8 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 <fengguang.wu@intel.com>
Reported-by: Bjørn Mork <bjorn@mork.no>
CC: Hans de Goede <hdegoede@redhat.com>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/media/video/gspca/jl2005bcd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/media/video/gspca/jl2005bcd.c
+++ b/drivers/media/video/gspca/jl2005bcd.c
@@ -514,7 +514,7 @@ static const struct sd_desc sd_desc = {
 };
 
 /* -- module initialisation -- */
-static const __devinitdata struct usb_device_id device_table[] = {
+static const struct usb_device_id device_table[] = {
 	{USB_DEVICE(0x0979, 0x0227)},
 	{}
 };


Patches currently in stable-queue which might be from gregkh@linuxfoundation.org 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-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic