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 311123 Details for
Bug 451399
linux-2.6-libata-acpi-handle-bay-devices-in-dock-stations.patch causes breakage
[?]
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: don't call sleeping function from invalid context
patch-451399 (text/plain), 1.06 KB, created by
Zhang Rui
on 2008-07-07 03:21:00 UTC
(
hide
)
Description:
patch: don't call sleeping function from invalid context
Filename:
MIME Type:
Creator:
Zhang Rui
Created:
2008-07-07 03:21:00 UTC
Size:
1.06 KB
patch
obsolete
>From: Zhang Rui <rui.zhang@intel.com> >SUbject: libata: don't call sleeping function from invalid context > >acpi_evaluate_integer is a sleeping function, >and it can not be called with spin_lock_irqsave. > >Sighed-off-by: Zhang Rui <rui.zhang@intel.com> >--- > drivers/ata/libata-acpi.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >Index: linux-2.6/drivers/ata/libata-acpi.c >=================================================================== >--- linux-2.6.orig/drivers/ata/libata-acpi.c 2007-05-04 10:57:08.000000000 +0800 >+++ linux-2.6/drivers/ata/libata-acpi.c 2008-07-07 11:15:02.000000000 +0800 >@@ -195,6 +195,8 @@ > /* This device does not support hotplug */ > return; > >+ status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); >+ > spin_lock_irqsave(ap->lock, flags); > > switch (event) { >@@ -202,7 +204,6 @@ > case ACPI_NOTIFY_DEVICE_CHECK: > ata_ehi_push_desc(ehi, "ACPI event"); > >- status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); > if (ACPI_FAILURE(status)) { > ata_port_printk(ap, KERN_ERR, > "acpi: failed to determine bay status (0x%x)\n",
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 451399
: 311123 |
312909
|
312910
|
312911
|
312912
|
312913
|
312914
|
313011
|
313445
|
316628