mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
cros_ec: Fix debug() statement in ec_command_inptr()
This prints out the wrong pointers. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
150c5afe5b
commit
e907bf2dfb
1 changed files with 1 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue