diff options
-rw-r--r-- | drivers/ata/libata-core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 06b7e49e039c..1e5d0a36a0a4 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -4119,9 +4119,8 @@ int ata_dev_revalidate(struct ata_device *dev, unsigned int new_class, | |||
4119 | dev->n_sectors > n_sectors && dev->n_sectors == n_native_sectors) { | 4119 | dev->n_sectors > n_sectors && dev->n_sectors == n_native_sectors) { |
4120 | ata_dev_printk(dev, KERN_WARNING, | 4120 | ata_dev_printk(dev, KERN_WARNING, |
4121 | "new n_sectors matches native, probably " | 4121 | "new n_sectors matches native, probably " |
4122 | "late HPA unlock, continuing\n"); | 4122 | "late HPA unlock, n_sectors updated\n"); |
4123 | /* keep using the old n_sectors */ | 4123 | /* use the larger n_sectors */ |
4124 | dev->n_sectors = n_sectors; | ||
4125 | return 0; | 4124 | return 0; |
4126 | } | 4125 | } |
4127 | 4126 | ||