From 3ec2b8be0e84701be39246c57d16e7c8ef0db287 Mon Sep 17 00:00:00 2001 From: Sultan Alsawaf Date: Tue, 12 Jan 2021 00:18:35 -0800 Subject: [PATCH] msm_geni_serial: Fix format specifier warnings due to transposed args Signed-off-by: Sultan Alsawaf Change-Id: I6178286e411ea03d1b4ad6cb33b4ed4cc9354903 --- drivers/tty/serial/msm_geni_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/msm_geni_serial.c b/drivers/tty/serial/msm_geni_serial.c index c4ae04df2a03..413d3689de81 100755 --- a/drivers/tty/serial/msm_geni_serial.c +++ b/drivers/tty/serial/msm_geni_serial.c @@ -4107,8 +4107,8 @@ static void msm_geni_serial_ssr_down(struct device *dev) port->uart_ssr.is_ssr_down = true; ret = pm_runtime_force_suspend(uport->dev); if (ret) { - dev_err(uport->dev, "%s:force suspend failed %d\n", - ret, __func__); + dev_err(uport->dev, "%s:force suspend failed %d\n", __func__, + ret); goto exit; }