projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dc7c76
)
libata: widen Crucial M550 blacklist matching
author
Tejun Heo
<tj@kernel.org>
Mon, 18 Aug 2014 21:40:09 +0000
(17:40 -0400)
committer
Tejun Heo
<tj@kernel.org>
Mon, 18 Aug 2014 21:40:09 +0000
(17:40 -0400)
Crucial M550 may cause data corruption on queued trims and is
blacklisted. The pattern used for it fails to match 1TB one as the
capacity section will be four chars instead of three. Widen the
pattern.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Charles Reiss <woggling@gmail.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81071
Cc: stable@vger.kernel.org
drivers/ata/libata-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/libata-core.c
b/drivers/ata/libata-core.c
index dbdc5d32343f53f7ed96a94cf2d6d69258a54237..f3e7b9f894cd131daea921fbd0e149fcaccadaeb 100644
(file)
--- a/
drivers/ata/libata-core.c
+++ b/
drivers/ata/libata-core.c
@@
-4228,7
+4228,7
@@
static const struct ata_blacklist_entry ata_device_blacklist [] = {
{ "Micron_M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
{ "Crucial_CT???M500SSD*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
{ "Micron_M550*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
- { "Crucial_CT
???M550SSD*",
NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
+ { "Crucial_CT
*M550SSD*",
NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
/*
* Some WD SATA-I drives spin up and down erratically when the link