projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f238085
)
[libata] pata_cs5530: suspend/resume support tweak
author
Andrew Morton
<akpm@osdl.org>
Wed, 20 Dec 2006 18:03:11 +0000
(13:03 -0500)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 20 Dec 2006 18:03:11 +0000
(13:03 -0500)
side-effectful-expression-within-assert give me the creeps.
Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_cs5530.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_cs5530.c
b/drivers/ata/pata_cs5530.c
index 1c628014dae612512062fda499f3bca4f6c71c6e..b1ca207e3545dcdce0b828806ded54db5a39891e 100644
(file)
--- a/
drivers/ata/pata_cs5530.c
+++ b/
drivers/ata/pata_cs5530.c
@@
-372,7
+372,8
@@
static int cs5530_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
static int cs5530_reinit_one(struct pci_dev *pdev)
{
/* If we fail on resume we are doomed */
- BUG_ON(cs5530_init_chip());
+ if (cs5530_init_chip())
+ BUG();
return ata_pci_device_resume(pdev);
}