From f7ca9643c959a9e3c8191016213212d78d02baaf Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 10 Oct 2017 16:11:49 -0700 Subject: [PATCH] qcacld-3.0: Fix bad log in wma_peer_set_default_routing() Checkpatch reported the following problem: ERROR: Prefixing 0x with decimal output is defective Correctly use %x when logging hex data. Change-Id: I8150cf6ae5770a18035f006df9e774932919d9b7 CRs-Fixed: 2124907 --- core/wma/src/wma_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index a38ec6f60f..e2b8545df4 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -8203,10 +8203,8 @@ void wma_peer_set_default_routing(void *scn_handle, uint8_t *peer_macaddr, param.param_id = WMI_HOST_PEER_SET_DEFAULT_ROUTING; param.vdev_id = vdev_id; param.param_value = ((hash_based) ? 1 : 0) | (ring_num << 1); - WMA_LOGD("%s: param_value 0x%d", __func__, param.param_value); + WMA_LOGD("%s: param_value 0x%x", __func__, param.param_value); wmi_set_peer_param_send(wma->wmi_handle, peer_macaddr, ¶m); - - return; } int wma_peer_rx_reorder_queue_setup(void *scn_handle,