From patchwork Tue Dec 4 04:39:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 203555 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 600F62C00A3 for ; Tue, 4 Dec 2012 15:39:34 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751687Ab2LDEjc (ORCPT ); Mon, 3 Dec 2012 23:39:32 -0500 Received: from mail-qa0-f53.google.com ([209.85.216.53]:53927 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751670Ab2LDEjc (ORCPT ); Mon, 3 Dec 2012 23:39:32 -0500 Received: by mail-qa0-f53.google.com with SMTP id a19so422710qad.19 for ; Mon, 03 Dec 2012 20:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=7vYQNIrtQmJoyzqlooJ672DWzzcvc0lXZPTxpA9t4z8=; b=smU4av+Q19o7J8VqeYJGIchBSHO12MExfR2h/jLpGtFdu9yaLuxf/l7+4KkOAN6cIW YUN51E0Q20XhFzdjNoY2aHo2IK/hn6o5YI1Vr6gT8wGocCYgVCQM8OPo0i7+R8a3syiJ 3HJxBMkJZ9Tw/yD/mnw/wkN2k/alDXTmeXDj8uB9jVN1EuD/CS68IEUKxeoQxM2NnPPn TYzQ45ax+s0746JobB4jk2Nbf1Lk9KoQGOWx/OeGkrgJppCLl2agVJxboFyaNnSmqhcC q2m4qVD4UF6tJx9p6Lkf810FDdJnIZlndK+RRSQXUyuUqa1mFlR539q6q5tVr7mAhWDI ct1g== MIME-Version: 1.0 Received: by 10.49.48.43 with SMTP id i11mr23472695qen.3.1354595971802; Mon, 03 Dec 2012 20:39:31 -0800 (PST) Received: by 10.229.126.165 with HTTP; Mon, 3 Dec 2012 20:39:31 -0800 (PST) Date: Mon, 3 Dec 2012 23:39:31 -0500 Message-ID: Subject: [PATCH -next] ahci: convert ata_link_printk() to ata_link_warn() From: Wei Yongjun To: jgarzik@pobox.com Cc: yongjun_wei@trendmicro.com.cn, linux-ide@vger.kernel.org Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org From: Wei Yongjun Using ata_link_warn() instead of ata_link_printk(). Signed-off-by: Wei Yongjun --- drivers/ata/libahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index 4201e53..320712a 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -1384,7 +1384,7 @@ int ahci_pmp_retry_softreset(struct ata_link *link, unsigned int *class, if (rc == -EIO) { irq_sts = readl(port_mmio + PORT_IRQ_STAT); if (irq_sts & PORT_IRQ_BAD_PMP) { - ata_link_printk(link, KERN_WARNING, + ata_link_warn(link, "applying PMP SRST workaround " "and retrying\n"); rc = ahci_do_softreset(link, class, 0, deadline,