linux_dsm_epyc7002/drivers/scsi/qla4xxx
Vikas Chaudhary 8e9157c832 [SCSI] qla4xxx: Fix lockdep warning in qla4xxx_post_work()
Fix following lockdep warning:-

 INFO: trying to register non-static key.
 the code is fine but needs lockdep annotation.
 turning off the locking correctness validator.
 Pid: 298, comm: modprobe Not tainted 3.6.0-rc1+ #13
 Call Trace:
 [<c049f5c6>] register_lock_class+0x186/0x360
 [<c06e2e39>] ? __dev_printk+0x139/0x280
 [<c04a288a>] __lock_acquire+0x6a/0x450
 [<c04a2cf4>] lock_acquire+0x84/0xf0
 [<f98bb0d0>] ? qla4xxx_post_work+0x20/0x60 [qla4xxx]
 [<c089a05b>] _raw_spin_lock_irqsave+0x4b/0x60
 [<f98bb0d0>] ? qla4xxx_post_work+0x20/0x60 [qla4xxx]
 [<f98bb0d0>] qla4xxx_post_work+0x20/0x60 [qla4xxx]
 [<f98bb1c9>] qla4xxx_post_aen_work+0x49/0x60 [qla4xxx]
 [<f98c6cf2>] qla4xxx_isr_decode_mailbox+0x3f2/0x780 [qla4xxx]
 [<f98c8493>] qla4_83xx_interrupt_service_routine+0x33/0x50 [qla4xxx]
 [<f98d0e49>] qla4_83xx_process_mbox_intr+0x29/0x40 [qla4xxx]
 [<f98c2031>] qla4xxx_mailbox_command+0x361/0x5d0 [qla4xxx]
 [<c08983c8>] ? mutex_unlock+0x8/0x10
 [<f98c3e86>] qla4xxx_get_ifcb+0x66/0xb0 [qla4xxx]
 [<f98c3ef7>] qla4xxx_update_local_ifcb+0x27/0x100 [qla4xxx]
 [<f98c56af>] qla4xxx_initialize_fw_cb+0x2ff/0x3b0 [qla4xxx]
 [<c04150d0>] ? dma_generic_free_coherent+0x30/0x30
 [<f98c0f70>] qla4xxx_init_firmware+0x40/0xf0 [qla4xxx]
 [<f98c10b6>] qla4xxx_initialize_adapter+0x96/0x120 [qla4xxx]
 [<f98d35cd>] qla4xxx_probe_adapter+0x378/0x855 [qla4xxx]
 [<c04a1a04>] ? trace_hardirqs_on_caller+0xf4/0x180
 [<c04a1a9b>] ? trace_hardirqs_on+0xb/0x10
 [<c06ef403>] ? pm_runtime_enable+0x43/0x70
 [<c062f042>] local_pci_probe+0x42/0xb0
 [<c06300c0>] pci_device_probe+0x60/0x80
 [<c06e6bb6>] really_probe+0x56/0x2e0
 [<c089a5f2>] ? _raw_spin_unlock_irq+0x22/0x30
 [<c06f0b02>] ? pm_runtime_barrier+0x52/0xb0
 [<c06e6e77>] driver_probe_device+0x37/0x90
 [<c0898281>] ? mutex_lock_nested+0x31/0x40
 [<c06e6f51>] __driver_attach+0x81/0x90
 [<c06e51e8>] bus_for_each_dev+0x48/0x70
 [<c06e68e9>] driver_attach+0x19/0x20
 [<c06e6ed0>] ? driver_probe_device+0x90/0x90
 [<c06e637f>] bus_add_driver+0x18f/0x280
 [<c062ff40>] ? pci_dev_put+0x20/0x20
 [<c062ff40>] ? pci_dev_put+0x20/0x20
 [<c06e7435>] driver_register+0x65/0x120
 [<c061a3a2>] ? __raw_spin_lock_init+0x32/0x60
 [<c06302f4>] __pci_register_driver+0x54/0xc0
 [<f98e809e>] qla4xxx_module_init+0x9e/0xcd [qla4xxx]
 [<c040302f>] do_one_initcall+0x2f/0x170
 [<f98e8000>] ? 0xf98e7fff
 [<c04ae025>] sys_init_module+0x75/0x1c0
 [<c04a1a04>] ? trace_hardirqs_on_caller+0xf4/0x180
 [<c0609514>] ? trace_hardirqs_on_thunk+0xc/0x10
 [<c08a141f>] sysenter_do_call+0x12/0x38

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-09-24 12:11:04 +04:00
..
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2011-10-28 16:44:18 -07:00
Makefile [SCSI] qla4xxx: add bsg support 2011-08-27 08:36:22 -06:00
ql4_attr.c [SCSI] qla4xxx: Capture minidump for ISP82XX on firmware failure 2012-05-30 13:00:28 +04:00
ql4_bsg.c [SCSI] qla4xxx: Added Get ACB support using BSG 2011-08-27 08:36:44 -06:00
ql4_bsg.h [SCSI] qla4xxx: Added Get ACB support using BSG 2011-08-27 08:36:44 -06:00
ql4_dbg.c [SCSI] qla4xxx: Fix qla4xxx_dump_buffer to dump buffer correctly 2011-12-15 10:57:42 +04:00
ql4_dbg.h [SCSI] qla4xxx: Updated the Copyright header 2010-12-21 12:24:43 -06:00
ql4_def.h [SCSI] qla4xxx: Fix memory corruption issue in qla4xxx_ep_connect. 2012-09-14 17:59:19 +01:00
ql4_fw.h [SCSI] qla4xxx: Capture minidump for ISP82XX on firmware failure 2012-05-30 13:00:28 +04:00
ql4_glbl.h [SCSI] qla4xxx: Fix a Sparse warning message 2012-07-20 08:58:34 +01:00
ql4_init.c [SCSI] qla4xxx: Fix Spell check. 2012-07-20 08:58:35 +01:00
ql4_inline.h [SCSI] qla4xxx: Updated the Copyright header 2010-12-21 12:24:43 -06:00
ql4_iocb.c [SCSI] qla4xxx: Fix sparse warning 2012-02-29 17:01:14 -06:00
ql4_isr.c [SCSI] qla4xxx: Properly handle SCSI underrun while processing status IOCBs. 2012-09-14 17:59:21 +01:00
ql4_mbx.c [SCSI] qla4xxx: Fix memory corruption issue in qla4xxx_ep_connect. 2012-09-14 17:59:19 +01:00
ql4_nvram.c [SCSI] qla4xxx: Boot from SAN support for open-iscsi 2011-08-27 08:36:27 -06:00
ql4_nvram.h Fix common misspellings 2011-03-31 11:26:23 -03:00
ql4_nx.c [SCSI] qla4xxx: Fix gcc warning for x86 system 2012-09-14 17:59:20 +01:00
ql4_nx.h [SCSI] qla4xxx: Capture minidump for ISP82XX on firmware failure 2012-05-30 13:00:28 +04:00
ql4_os.c [SCSI] qla4xxx: Fix lockdep warning in qla4xxx_post_work() 2012-09-24 12:11:04 +04:00
ql4_version.h [SCSI] qla4xxx: Update driver version to 5.02.00-k19 2012-09-14 17:59:22 +01:00