[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:41
Message-ID: 13464491212491 () 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.4-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.4 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
@@ -510,7 +510,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.4/rapidio-tsi721-fix-inbound-doorbell-interrupt-handling.patch
queue-3.4/mm-hugetlbfs-correctly-populate-shared-pmd.patch
queue-3.4/drm-stop-vmgfx-driver-explosion.patch
queue-3.4/nfsv4.1-remove-a-bogus-bug_on-in-nfs4_layoutreturn_done.patch
queue-3.4/vfs-missed-source-of-f_pos-races.patch
queue-3.4/target-fix-null-pointer-dereference-bug-alloc_page-fails-to-get-memory.patch
queue-3.4/arm-imx-select-cpu_freq_table-when-needed.patch
queue-3.4/sched-cgroup-fix-up-task_groups-list.patch
queue-3.4/arm-7487-1-mm-avoid-setting-ng-bit-for-user-mappings-that-aren-t-present.patch
queue-3.4/usb-p54usb-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.4/audit-fix-refcounting-in-audit-tree.patch
queue-3.4/arm-7489-1-errata-fix-workaround-for-erratum-720789-on-up-systems.patch
queue-3.4/pnfs-defer-release-of-pages-in-layoutget.patch
queue-3.4/revert-drm-radeon-fix-bo-creation-retry-path.patch
queue-3.4/usb-emi62-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.4/usb-jl2005bcd-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.4/nfs-alias-the-nfs-module-to-nfs4.patch
queue-3.4/usb-spca506-remove-__devinit-from-the-struct.patch
queue-3.4/ath9k-fix-decrypt_error-initialization-in-ath_rx_tasklet.patch
queue-3.4/audit-don-t-free_chunk-after-fsnotify_add_mark.patch
queue-3.4/svcrpc-fix-bug-in-svc_tcp_clear_pages.patch
queue-3.4/alpha-fix-fpu.h-usage-in-userspace.patch
queue-3.4/x32-use-compat-shims-for-g-s-etsockopt.patch
queue-3.4/arm-imx6-spin-the-cpu-until-hardware-takes-it-down.patch
queue-3.4/arm-7488-1-mm-use-5-bits-for-swapfile-type-encoding.patch
queue-3.4/alsa-hda-don-t-create-dysfunctional-mixer-controls-for-ca0132.patch
queue-3.4/alsa-hda-fix-copyright-debug-message.patch
queue-3.4/uvcvideo-reset-the-bytesused-field-when-recycling-an-erroneous-buffer.patch
queue-3.4/arm-7483-1-vfp-only-advertise-vfpv4-in-hwcaps-if-config_vfpv3-is-enabled.patch
queue-3.4/svcrpc-sends-on-closed-socket-should-stop-immediately.patch
queue-3.4/sched-fix-divide-by-zero-at-thread_group-task-_times.patch
queue-3.4/bluetooth-set-name_state-to-unknown-when-entry-name-is-empty.patch
queue-3.4/nfsv3-ensure-that-do_proc_get_root-reports-errors-correctly.patch
queue-3.4/asoc-omap-mcbsp-fix-6pin-mux-configuration.patch
queue-3.4/regulator-twl-regulator-fix-up-vintana1-vintana2.patch
queue-3.4/usb-cdc-acm-fix-null-pointer-dereference.patch
queue-3.4/alpha-don-t-export-sock_nonblock-to-user-space.patch
queue-3.4/usb-vt6656-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.4/cciss-fix-incorrect-scsi-status-reporting.patch
queue-3.4/arm-s3c24xx-add-missing-dmach_dt_prop.patch
queue-3.4/pci-ehci-fix-crash-during-hibernation-on-asus-computers.patch
queue-3.4/revert-dma-imx-dma-fix-kernel-crash-due-to-missing-clock-conversion.patch
queue-3.4/svcrpc-fix-svc_xprt_enqueue-svc_recv-busy-looping.patch
queue-3.4/acpi-export-symbol-acpi_get_table_with_size.patch
queue-3.4/usb-smsusb-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.4/bluetooth-fix-using-a-null-inquiry-cache-entry.patch
queue-3.4/bluetooth-fix-using-null-inquiry-entry.patch
queue-3.4/usb-winbond-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.4/rapidio-tsi721-fix-unused-variable-compiler-warning.patch
queue-3.4/xen-setup-fix-one-off-error-when-adding-for-balloon-pfns-to-the-p2m.patch
queue-3.4/usb-rtl8187-remove-__devinit-from-the-struct-usb_device_id-table.patch
queue-3.4/arm-omap2-fix-dmtimer-set-source-clock-failure.patch
queue-3.4/block-replace-__getblk_slow-misfix-by-grow_dev_page-fix.patch
queue-3.4/nfs-clear-key-construction-data-if-the-idmap-upcall-fails.patch
queue-3.4/bluetooth-fix-legacy-pairing-with-some-devices.patch
queue-3.4/arm-s3c24xx-fix-s3c2410_dma_enqueue-parameters.patch
queue-3.4/vfs-canonicalize-create-mode-in-build_open_flags.patch
queue-3.4/nfs-return-enokey-when-the-upcall-fails-to-map-the-name.patch
queue-3.4/asoc-wm9712-fix-microphone-source-selection.patch
queue-3.4/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