projects
/
wrapfs-2.6.37.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba1531f
)
libata: ensure NCQ error result taskfile is fully initialized before returning it...
author
Jeff Garzik
<jeff@garzik.org>
Fri, 23 Apr 2010 01:59:13 +0000
(21:59 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 26 May 2010 21:27:08 +0000
(14:27 -0700)
commit
a09bf4cd53b8ab000197ef81f15d50f29ecf973c
upstream.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/libata-eh.c
patch
|
blob
|
history
diff --git
a/drivers/ata/libata-eh.c
b/drivers/ata/libata-eh.c
index 22995d7700d6efb803eccaabdc8093e7897ae8bf..3882e7ec07493b0dff8860316738fbb389bfe85a 100644
(file)
--- a/
drivers/ata/libata-eh.c
+++ b/
drivers/ata/libata-eh.c
@@
-1497,6
+1497,7
@@
void ata_eh_analyze_ncq_error(struct ata_link *link)
}
/* okay, this error is ours */
+ memset(&tf, 0, sizeof(tf));
rc = ata_eh_read_log_10h(dev, &tag, &tf);
if (rc) {
ata_link_printk(link, KERN_ERR, "failed to read log page 10h "