projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
150c5af
)
cros_ec: Fix debug() statement in ec_command_inptr()
author
Simon Glass
<sjg@chromium.org>
Fri, 19 May 2017 02:09:22 +0000
(20:09 -0600)
committer
Simon Glass
<sjg@chromium.org>
Thu, 1 Jun 2017 13:03:11 +0000
(07:03 -0600)
This prints out the wrong pointers. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/cros_ec.c
patch
|
blob
|
history
diff --git
a/drivers/misc/cros_ec.c
b/drivers/misc/cros_ec.c
index 3d449b2a5526cac31ee28d8bc4edd2d2f7527806..e2027ea5d208f16575e46f7510126536162d8dbc 100644
(file)
--- 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));