All of lore.kernel.org
 help / color / mirror / Atom feed
From: ferlandm at amotus.ca <ferlandm@amotus.ca>
To: u-boot@lists.denx.de
Subject: [PATCH] i2c: mxc_i2c: improve error message readability
Date: Fri, 18 Dec 2020 14:43:03 -0500	[thread overview]
Message-ID: <20201218194303.3510162-1-ferlandm@amotus.ca> (raw)

From: Marc Ferland <ferlandm@amotus.ca>

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
---
 drivers/i2c/mxc_i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c
index 7609594bd0..d486dab043 100644
--- a/drivers/i2c/mxc_i2c.c
+++ b/drivers/i2c/mxc_i2c.c
@@ -954,7 +954,7 @@ static int mxc_i2c_probe(struct udevice *bus)
 		    !dm_gpio_is_valid(&i2c_bus->scl_gpio) ||
 		    ret || ret2) {
 			dev_err(bus,
-				"i2c bus %d at %lu, fail to request scl/sda gpio\n",
+				"i2c bus %d at 0x%2lx, fail to request scl/sda gpio\n",
 				bus->seq, i2c_bus->base);
 			return -EINVAL;
 		}
-- 
2.25.1

             reply	other threads:[~2020-12-18 19:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 19:43 ferlandm at amotus.ca [this message]
2020-12-19 14:49 ` [PATCH] i2c: mxc_i2c: improve error message readability Fabio Estevam
2020-12-21 14:50 ` [PATCH v2] " ferlandm at amotus.ca
2020-12-21 20:21   ` Fabio Estevam
2020-12-26 15:54   ` sbabic at denx.de

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=20201218194303.3510162-1-ferlandm@amotus.ca \
    --to=ferlandm@amotus.ca \
    --cc=u-boot@lists.denx.de \
    /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.