Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 151655 Details for
Bug 234900
b2c2-flexcop-pci causes lockdep lock
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix the problem
flexcop-lockdep.patch (text/plain), 1.01 KB, created by
Hendrik Borghorst
on 2007-04-04 13:12:55 UTC
(
hide
)
Description:
Patch to fix the problem
Filename:
MIME Type:
Creator:
Hendrik Borghorst
Created:
2007-04-04 13:12:55 UTC
Size:
1.01 KB
patch
obsolete
>From Hendrik Borghorst (hendrik@borghorst.org) > >--- linux-2.6.20/drivers/media/dvb/b2c2/flexcop-pci.c.org 2007-02-04 19:44:54.000000000 +0100 >+++ linux-2.6.20/drivers/media/dvb/b2c2/flexcop-pci.c 2007-04-04 14:33:31.000000000 +0200 >@@ -127,10 +127,11 @@ > { > struct flexcop_pci *fc_pci = dev_id; > struct flexcop_device *fc = fc_pci->fc_dev; >+ unsigned long flags; > flexcop_ibi_value v; > irqreturn_t ret = IRQ_HANDLED; > >- spin_lock_irq(&fc_pci->irq_lock); >+ spin_lock_irqsave(&fc_pci->irq_lock,flags); > > v = fc->read_ibi_reg(fc,irq_20c); > >@@ -194,7 +195,7 @@ > ret = IRQ_NONE; > } > >- spin_unlock_irq(&fc_pci->irq_lock); >+ spin_unlock_irqrestore(&fc_pci->irq_lock,flags); > > return ret; > } >@@ -293,12 +294,12 @@ > } > > pci_set_drvdata(fc_pci->pdev, fc_pci); >- >+ spin_lock_init(&fc_pci->irq_lock); > if ((ret = request_irq(fc_pci->pdev->irq, flexcop_pci_isr, > IRQF_SHARED, DRIVER_NAME, fc_pci)) != 0) > goto err_pci_iounmap; > >- spin_lock_init(&fc_pci->irq_lock); >+ > > fc_pci->init_state |= FC_PCI_INIT; > return ret;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234900
: 151655