Re: [U-Boot] [PATCH v3 32/72] cros_ec: Fix debug() statement in ec_command_inptr()

2017-05-24 Thread sjg
This prints out the wrong pointers. Fix it.

Signed-off-by: Simon Glass 
---

Changes in v3: None
Changes in v2: None

 drivers/misc/cros_ec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Applied to u-boot-dm
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v3 32/72] cros_ec: Fix debug() statement in ec_command_inptr()

2017-05-18 Thread Simon Glass
This prints out the wrong pointers. Fix it.

Signed-off-by: Simon Glass 
---

Changes in v3: None
Changes in v2: None

 drivers/misc/cros_ec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c
index 3d449b2a55..e2027ea5d2 100644
--- a/drivers/misc/cros_ec.c
+++ b/drivers/misc/cros_ec.c
@@ -304,8 +304,7 @@ static int ec_command_inptr(struct cros_ec_dev *dev, 
uint8_t cmd,
NULL, 0, &din, din_len);
}
 
-   debug("%s: len=%d, dinp=%p, *dinp=%p\n", __func__, len, dinp,
- dinp ? *dinp : NULL);
+   debug("%s: len=%d, din=%p\n", __func__, len, din);
if (dinp) {
/* If we have any data to return, it must be 64bit-aligned */
assert(len <= 0 || !((uintptr_t)din & 7));
-- 
2.13.0.303.g4ebf302169-goog

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot