[PATCH v9 6/8] efi/mokvar: move up init order

Jarkko Sakkinen jarkko at kernel.org
Sat Jan 8 22:27:31 UTC 2022


On Wed, Jan 05, 2022 at 06:50:10PM -0500, Eric Snowberg wrote:
> Move up the init order so it can be used by the new machine keyring.
> 
> Signed-off-by: Eric Snowberg <eric.snowberg at oracle.com>
> ---
> v7: Initial version
> v9: Unmodified from v7
> ---
>  drivers/firmware/efi/mokvar-table.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/firmware/efi/mokvar-table.c b/drivers/firmware/efi/mokvar-table.c
> index 38722d2009e2..5ed0602c2f75 100644
> --- a/drivers/firmware/efi/mokvar-table.c
> +++ b/drivers/firmware/efi/mokvar-table.c
> @@ -359,4 +359,4 @@ static int __init efi_mokvar_sysfs_init(void)
>  	}
>  	return err;
>  }
> -device_initcall(efi_mokvar_sysfs_init);
> +fs_initcall(efi_mokvar_sysfs_init);
> -- 
> 2.18.4
> 

Reviewed-by: Jarkko Sakkinen <jarkko at kernel.org>

/Jarkko



More information about the Linux-security-module-archive mailing list