]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/cramfs: use schedule instead of cyclic_run as callback
authorRasmus Villemoes <ravi@prevas.dk>
Thu, 3 Oct 2024 21:27:54 +0000 (23:27 +0200)
committerStefan Roese <sr@denx.de>
Wed, 23 Oct 2024 04:52:38 +0000 (06:52 +0200)
commit92957de3621ecc77f2bd1883a8fc33b8e598d964
treea0f919cd0c99d5fda35ea1c72a5995508c6a0f4e
parentb279aa505de7e22762e00c7f360da7b84fa8ab59
fs/cramfs: use schedule instead of cyclic_run as callback

Prior to commit 29caf9305b6f ("cyclic: Use schedule() instead of
WATCHDOG_RESET()") we had

/* Currently only needed for fs/cramfs/uncompress.c */
static inline void watchdog_reset_func(void)
{
       WATCHDOG_RESET();
}

and .outcb was set to that watchdog_reset_func().  Said commit changed
that .outcb to cyclic_run instead of schedule, which would otherwise
match all the other WATCHDOG_RESET replacements done. As the
HW_WATCHDOG case is not handled by cyclic_run, this seems to be an
oversight.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
fs/cramfs/uncompress.c