From 2b07141773fa9c49eff2dca724a6c4bec5b61ac4 Mon Sep 17 00:00:00 2001 From: Guisen Yang Date: Thu, 17 Oct 2019 16:20:42 +0800 Subject: [PATCH] qcacmn: Fix the build failure of illegal usage of log In function target_if_direct_buf_rx_register_events(), the API direct_buf_rx_info() is used to record log, but the format is wrong. Fix the log format. Change-Id: I81bc128e110570d96ca95dfbe773121272eb2588 CRs-Fixed: 2547235 --- target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c b/target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c index 95376d2b24a2..b97807e5fb47 100644 --- a/target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c +++ b/target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c @@ -1218,7 +1218,7 @@ QDF_STATUS target_if_direct_buf_rx_register_events( WMI_RX_UMAC_CTX); if (ret) - direct_buf_rx_info("event handler not supported", ret); + direct_buf_rx_info("event handler not supported, ret=%d", ret); return QDF_STATUS_SUCCESS; }