From patchwork Wed May 9 16:57:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10390109 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1F06E60153 for ; Wed, 9 May 2018 16:57:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E42428608 for ; Wed, 9 May 2018 16:57:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 02D8D28614; Wed, 9 May 2018 16:57:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8424F28608 for ; Wed, 9 May 2018 16:57:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965667AbeEIQ5n (ORCPT ); Wed, 9 May 2018 12:57:43 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:39828 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965487AbeEIQ5m (ORCPT ); Wed, 9 May 2018 12:57:42 -0400 Received: by mail-qt0-f194.google.com with SMTP id f1-v6so46540135qtj.6 for ; Wed, 09 May 2018 09:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=xSpYjc8DKiGYJGKOFlT8eZtQ47xFlAEXUKBB1jrYtas=; b=Z1k1HinON/nfxfQsNsNmqiR9nC5vc7H6pwC30amXBZfq9mQBJgV+kaUEvUXDT5SB4c S+OBImEzymovVW8LuJM1wJAHwphcwrYUTFjXIG5YjSfN6iD1L/mDjwC2+nEhdQH1ZB3C MKbXgTtSVY4RTNEmlrosNTAkeSprg+hIpGpwNboqPeCNxw/3rQsTUyoT37kclPoiwBoY erBX11XUjAsTuR1zulysi6lZPJG/HWvdpHK0y0TbxLxjDSz0+10NBpokHMZ7wjGd9/vW J9y47AOgx6akS6thVX80YzkN561Q2qkkfGVOzIPk76MJJjDAvrHmcDdzRR/zZUF80zvz nsIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xSpYjc8DKiGYJGKOFlT8eZtQ47xFlAEXUKBB1jrYtas=; b=pZXQijwsizr1uOcAGNUDU11uWYyXAIM8zn3X3kkcIagQYePUKydE3ir+ApURmzu8N7 bUQaUGuGElqS5LstN1e9jiAABr29Rn5bkSNZf0vupGOfGhQqtSfYpWExHnLyw+B76KVt ca+ifQMsvDKXjPEQGo1XFef/inHldW1/XexbrJL/Tr1jPyYZspnqKLac9gy22/lPlRe4 +vPAWJVIMkzkPVFsa0LNlZ9yhi+K75+se9FBCqY5znNcSj2PdbxikZJLTeJSo74NdT91 ilYbnav/YtwfechRHFZQ1eOHiTf/vt/kzcgRBJA4FnIO1OxXwzZeg7bZpp2tFSc3hwJt b9eQ== X-Gm-Message-State: ALQs6tA4P1z3fxItek0wCMedlysPMiB4nY3nAXquzgoAzlCm53SXSfHy SNxrRDu5Vplz87sZTbtac+4= X-Google-Smtp-Source: AB8JxZq5uQyGwZhru1jiXjaoXz17Bj4NZMnIkmKQquOz7U8xJaGcooaaUuzJMrumQup5OOw9SHLVQw== X-Received: by 2002:ac8:2ce7:: with SMTP id 36-v6mr37272042qtx.375.1525885061223; Wed, 09 May 2018 09:57:41 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:871:f52e:883e:b42:881f]) by smtp.gmail.com with ESMTPSA id j25-v6sm20487795qtn.29.2018.05.09.09.57.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 09:57:40 -0700 (PDT) From: Fabio Estevam To: lorenzo.pieralisi@arm.com Cc: bhelgaas@google.com, m-karicheri2@ti.com, linux-pci@vger.kernel.org, Fabio Estevam Subject: [PATCH] PCI: keystone: Do not treat link up message as error Date: Wed, 9 May 2018 13:57:36 -0300 Message-Id: <1525885056-7528-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam The "Link already up" message does not indicate any error, so change it to dev_info() level instead. Signed-off-by: Fabio Estevam Acked-by: Murali Karicheri --- drivers/pci/dwc/pci-keystone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/dwc/pci-keystone.c b/drivers/pci/dwc/pci-keystone.c index d55ae07..3722a5f 100644 --- a/drivers/pci/dwc/pci-keystone.c +++ b/drivers/pci/dwc/pci-keystone.c @@ -89,7 +89,7 @@ static int ks_pcie_establish_link(struct keystone_pcie *ks_pcie) dw_pcie_setup_rc(pp); if (dw_pcie_link_up(pci)) { - dev_err(dev, "Link already up\n"); + dev_info(dev, "Link already up\n"); return 0; }