aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r--drivers/scsi/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index 53226b16355..985283cbcbd 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -1241,7 +1241,7 @@ static int ata_dev_configure(struct ata_port *ap, struct ata_device *dev,
1241 id[84], id[85], id[86], id[87], id[88]); 1241 id[84], id[85], id[86], id[87], id[88]);
1242 1242
1243 /* initialize to-be-configured parameters */ 1243 /* initialize to-be-configured parameters */
1244 dev->flags = 0; 1244 dev->flags &= ~ATA_DFLAG_CFG_MASK;
1245 dev->max_sectors = 0; 1245 dev->max_sectors = 0;
1246 dev->cdb_len = 0; 1246 dev->cdb_len = 0;
1247 dev->n_sectors = 0; 1247 dev->n_sectors = 0;