On 02/20/25 at 05:51pm, Jiri Bohac wrote:
......snip...  
> diff --git a/kernel/crash_reserve.c b/kernel/crash_reserve.c
> index a620fb4b2116..e72a9c897694 100644
> --- a/kernel/crash_reserve.c
> +++ b/kernel/crash_reserve.c
> @@ -172,17 +172,19 @@ static int __init parse_crashkernel_simple(char 
> *cmdline,
>  
>  #define SUFFIX_HIGH 0
>  #define SUFFIX_LOW  1
> -#define SUFFIX_NULL 2
> +#define SUFFIX_CMA  2
> +#define SUFFIX_NULL 3
>  static __initdata char *suffix_tbl[] = {
> -     [SUFFIX_HIGH] = ",high",
> -     [SUFFIX_LOW]  = ",low",
> -     [SUFFIX_NULL] = NULL,
> +     [SUFFIX_HIGH]   = ",high",
> +     [SUFFIX_LOW]    = ",low",
> +     [SUFFIX_CMA]    = ",cma",
> +     [SUFFIX_NULL]   = NULL,
>  };

Seems the old style looks a little better.
......


Reply via email to