From 1906434c4e62fac6792b6b81874810495be49b2e Mon Sep 17 00:00:00 2001 From: Caveh Jalali Date: Wed, 25 Sep 2019 16:56:23 -0700 Subject: tcpci: add missing CPRINTS argument this adds the missing "port" argument to a CPRINTS. BUG=none BRANCH=none TEST=buildall passes, boots on atlas Change-Id: I9308a4beea716441912aaa06eb206e9d17186cd9 Signed-off-by: Caveh Jalali Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1825876 Reviewed-by: Daisuke Nojiri --- driver/tcpm/tcpci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/tcpm/tcpci.c b/driver/tcpm/tcpci.c index 712b2bea29..5d5bf4499a 100644 --- a/driver/tcpm/tcpci.c +++ b/driver/tcpm/tcpci.c @@ -490,7 +490,7 @@ int tcpm_dequeue_message(const int port, uint32_t *const payload, &q->buffer[q->tail & CACHE_DEPTH_MASK]; if (!tcpm_has_pending_message(port)) { - CPRINTS("C%d No message in RX buffer!"); + CPRINTS("C%d No message in RX buffer!", port); return EC_ERROR_BUSY; } -- cgit v1.2.1