[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200123145313.27539-2-k.konieczny@samsung.com>
Date: Thu, 23 Jan 2020 15:53:11 +0100
From: Kamil Konieczny <k.konieczny@...sung.com>
To: k.konieczny@...sung.com
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Kukjin Kim <kgene@...nel.org>,
Kyungmin Park <kyungmin.park@...sung.com>,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
Marek Szyprowski <m.szyprowski@...sung.com>,
MyungJoo Ham <myungjoo.ham@...sung.com>
Subject: [PATCH 1/3] PM / devfreq: exynos-nocp: fix debug print type
Values printed in dev_dbg are both unsigned long, but were
printed as signed decimals. Change this to unsigned long.
Signed-off-by: Kamil Konieczny <k.konieczny@...sung.com>
---
drivers/devfreq/event/exynos-nocp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/devfreq/event/exynos-nocp.c b/drivers/devfreq/event/exynos-nocp.c
index ccc531ee6938..ebe9cdf94f54 100644
--- a/drivers/devfreq/event/exynos-nocp.c
+++ b/drivers/devfreq/event/exynos-nocp.c
@@ -167,7 +167,7 @@ static int exynos_nocp_get_event(struct devfreq_event_dev *edev,
edata->load_count = ((counter[1] << 16) | counter[0]);
edata->total_count = ((counter[3] << 16) | counter[2]);
- dev_dbg(&edev->dev, "%s (event: %ld/%ld)\n", edev->desc->name,
+ dev_dbg(&edev->dev, "%s (event: %lu/%lu)\n", edev->desc->name,
edata->load_count, edata->total_count);
return 0;
--
2.25.0
Powered by blists - more mailing lists