From 53efbbd8bcccc6c995a71bf583f85e61353e5cfa Mon Sep 17 00:00:00 2001 From: Sai Chaitanya Kaveti Date: Tue, 26 Oct 2021 12:17:13 +0530 Subject: [PATCH] msm: ep_pcie: Avoid unwanted string literal in log Removing unwanted string format specifier in a log API to avoid potential kernel panic. Change-Id: Iceb2ae7a0d08946685bdd922c7e52800ed3c65a5 Signed-off-by: Sai Chaitanya Kaveti --- drivers/platform/msm/ep_pcie/ep_pcie_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/msm/ep_pcie/ep_pcie_core.c b/drivers/platform/msm/ep_pcie/ep_pcie_core.c index 13f49bc235d1..e5231fa2bbd9 100644 --- a/drivers/platform/msm/ep_pcie/ep_pcie_core.c +++ b/drivers/platform/msm/ep_pcie/ep_pcie_core.c @@ -2079,7 +2079,7 @@ int ep_pcie_core_disable_endpoint(void) * code is to toggle WAKE in such sceanrios. */ if (atomic_read(&dev->host_wake_pending)) { - EP_PCIE_DBG(dev, "PCIe V%d: %s: wake pending, init wakeup\n", + EP_PCIE_DBG(dev, "PCIe V%d: wake pending, init wakeup\n", dev->rev); ep_pcie_core_wakeup_host_internal(EP_PCIE_EVENT_PM_D3_COLD); }