From: Dmitry Monakhov <dmonakhov@openvz.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH] [broken-out-2007-07-20-00-22] libata compile fix
Date: Sat, 21 Jul 2007 16:45:18 +0400 [thread overview]
Message-ID: <20070721124518.GD10576@dnb.sw.ru> (raw)
Fix libata compilation.
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
---
drivers/ata/libata-core.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index cc6ba64..721f43d 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2036,9 +2036,7 @@ int ata_dev_configure(struct ata_device *dev)
dev->max_sectors = min_t(unsigned int, ATA_MAX_SECTORS_128,
dev->max_sectors);
- if (ata_device_blacklisted(dev) & ATA_HORKAGE_ALPM) {
- dev->horkage |= ATA_HORKAGE_ALPM;
-
+ if (dev->horkage & ATA_HORKAGE_ALPM) {
/* reset link pm_policy for this port to no pm */
ap->pm_policy = SHOST_MAX_PERFORMANCE;
}
--
1.5.2.2
reply other threads:[~2007-07-21 12:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070721124518.GD10576@dnb.sw.ru \
--to=dmonakhov@openvz.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox