Re: [PATCH] init/initramfs.c: trivial fix: FSM -> Finite-state machine
From: Darrick J. Wong
Date: Fri Mar 20 2026 - 10:58:14 EST
On Thu, Mar 19, 2026 at 11:27:21PM +0000, Askar Safin wrote:
> FSM means "finite-state machine", but I think this is not obvious to
> everyone.
>
> Signed-off-by: Askar Safin <safinaskar@xxxxxxxxx>
> ---
> init/initramfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/init/initramfs.c b/init/initramfs.c
> index 139baed06..d29fe0a5c 100644
> --- a/init/initramfs.c
> +++ b/init/initramfs.c
> @@ -212,7 +212,7 @@ static void __init parse_header(char *s)
> hdr_csum = parsed[12];
> }
>
> -/* FSM */
...and here I thought all along that the initramfs code had been blessed
by the flying spaghetti monster! ;)
Reviewed-by: "Darrick J. Wong" <djwong@xxxxxxxxxx>
--D
> +/* Finite-state machine */
>
> static __initdata enum state {
> Start,
>
> base-commit: a1d9d8e833781c44ab688708804ce35f20f3cbbd (mainline)
> --
> 2.47.3
>
>