]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
cyclic: replace uint64_t by u64 suggested by b4
authorPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 6 Jul 2026 16:06:08 +0000 (18:06 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 16 Jul 2026 22:11:11 +0000 (16:11 -0600)
For new patch, b4 is suggested to replace type 'uint64_t' by 'u64' :
      CHECK: Prefer kernel type 'u64' over 'uint64_t'

Update cyclic.c accordingly in order to be coherent with following commit.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Marek Vasut <marek.vasut@mailbox.org>
common/cyclic.c

index ec952a01ee163312e4f91f4640a3c4adad14066c..b37cd6d8ff012ab5f6c08de6f0c04d683ea3a738 100644 (file)
@@ -41,7 +41,7 @@ static bool cyclic_is_registered(const struct cyclic_info *cyclic)
 }
 
 void cyclic_register(struct cyclic_info *cyclic, cyclic_func_t func,
-                    uint64_t delay_us, const char *name)
+                    u64 delay_us, const char *name)
 {
        cyclic_unregister(cyclic);
 
@@ -67,7 +67,7 @@ static void cyclic_run(void)
 {
        struct cyclic_info *cyclic;
        struct hlist_node *tmp;
-       uint64_t now, cpu_time;
+       u64 now, cpu_time;
 
        /* Prevent recursion */
        if (gd->flags & GD_FLG_CYCLIC_RUNNING)