All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
To: gregkh@linuxfoundation.org
Cc: neil@brown.name, driverdev-devel@linuxdriverproject.org,
	gerg@kernel.org, bneumeier@gmail.com
Subject: [PATCH 1/4] staging: mt7621-pci: fix two messages in driver code
Date: Wed, 19 Jun 2019 09:44:55 +0200	[thread overview]
Message-ID: <20190619074458.31112-2-sergio.paracuellos@gmail.com> (raw)
In-Reply-To: <20190619074458.31112-1-sergio.paracuellos@gmail.com>

There are two messages in driver code which are not correct.
Fix both of them to clarify boot runs.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/mt7621-pci/pci-mt7621.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c
index 03d919a94552..7ba6ec93ac0f 100644
--- a/drivers/staging/mt7621-pci/pci-mt7621.c
+++ b/drivers/staging/mt7621-pci/pci-mt7621.c
@@ -394,7 +394,7 @@ static int mt7621_pcie_init_port(struct mt7621_pcie_port *port)
 	mt7621_reset_port(port);
 
 	val = read_config(pcie, slot, PCIE_FTS_NUM);
-	dev_info(dev, "Port %d N_FTS = %x\n", (unsigned int)val, slot);
+	dev_info(dev, "Port %d N_FTS = %x\n", slot, (unsigned int)val);
 
 	err = phy_init(port->phy);
 	if (err) {
@@ -511,7 +511,7 @@ static void mt7621_pcie_enable_ports(struct mt7621_pcie *pcie)
 					port->slot);
 				continue;
 			}
-			dev_info(dev, "PCIE%d enabled\n", slot);
+			dev_info(dev, "PCIE%d enabled\n", num_slots_enabled);
 			num_slots_enabled++;
 		}
 	}
-- 
2.19.1

  reply	other threads:[~2019-06-19  7:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-19  7:44 [PATCH 0/4] staging: mt7621-pci: Use gpio perst instead builtin behaviour Sergio Paracuellos
2019-06-19  7:44 ` Sergio Paracuellos [this message]
2019-06-19  7:44 ` [PATCH 2/4] staging: mt7621-pci: use gpio perst instead of " Sergio Paracuellos
2019-06-19  7:44 ` [PATCH 3/4] staging: mt7621-dts: add gpio perst to pcie bindings node Sergio Paracuellos
2019-06-19  7:44 ` [PATCH 4/4] staging: mt7621-pci: dt-bindings: add perst-gpio to sample bindings Sergio Paracuellos
2019-06-20  0:40 ` [PATCH 0/4] staging: mt7621-pci: Use gpio perst instead builtin behaviour Greg Ungerer
2019-06-20  5:20   ` Sergio Paracuellos
2019-06-20 12:31     ` Greg KH
2019-06-20 12:43       ` Sergio Paracuellos

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=20190619074458.31112-2-sergio.paracuellos@gmail.com \
    --to=sergio.paracuellos@gmail.com \
    --cc=bneumeier@gmail.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gerg@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=neil@brown.name \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.