summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-08-08 12:40:29 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2018-08-08 16:05:16 +0200
commit915b0ba69427f1c605d8a976f19d4e88b6aa2ca0 (patch)
tree094e156bf681558251306ebe463a3f5b9f394d90 /target
parent85a0bca7cffc7b8d26ed5fa33673188ac9fc89d0 (diff)
downloadmtk-20170518-915b0ba69427f1c605d8a976f19d4e88b6aa2ca0.zip
mtk-20170518-915b0ba69427f1c605d8a976f19d4e88b6aa2ca0.tar.gz
mtk-20170518-915b0ba69427f1c605d8a976f19d4e88b6aa2ca0.tar.bz2
cns3xxx: correct size specifier in watchdog init print
fix compiler warnings Fixes: 84acff286566 ("cns3xxx: fix mpcore watchdog") Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch b/target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch
index 9e3e314..df413c9 100644
--- a/target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch
+++ b/target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch
@@ -117,7 +117,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
+ struct resource *res;
+ unsigned long rate = twd_timer_get_rate();
+
-+ pr_info("MPCore WD init. clockrate: %u prescaler: %u countrate: %u timeout: %us\n", rate, 256, rate / 256, wdt_timeout);
++ pr_info("MPCore WD init. clockrate: %lu prescaler: %u countrate: %lu timeout: %us\n", rate, 256, rate / 256, wdt_timeout);
+
+ res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+ if (!res)