Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56ea6f10 authored by Ashwanth Goli's avatar Ashwanth Goli Committed by Gerrit - the friendly Code Review server
Browse files

rmnet_data: Changing format specifier to %pK



Using %pK instead of %p to hide kernel pointers
based on kptr_restrict.

Change-Id: I065cff2a9e092d74d0e8c35da6551fab3805e83e
Signed-off-by: default avatarAshwanth Goli <ashwanth@codeaurora.org>
parent 03ffbf10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -929,7 +929,7 @@ int rmnet_vnd_add_tc_flow(uint32_t id, uint32_t map_flow, uint32_t tc_flow)
	list_add(&(itm->list), &(dev_conf->flow_head));
	write_unlock_irqrestore(&dev_conf->flow_map_lock, flags);

	LOGD("Created flow mapping [%s][0x%08X][0x%08X]@%p",
	LOGD("Created flow mapping [%s][0x%08X][0x%08X]@%pK",
	     dev->name, itm->map_flow_id, itm->tc_flow_id[0], itm);

	return RMNET_CONFIG_OK;