Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts

@@ -87,13 +87,14 @@
         "DES Kernel SW Provider"
 };
 
 static struct modlinkage modlinkage = {
         MODREV_1,
-        &modlmisc,
+        {   &modlmisc,
         &modlcrypto,
         NULL
+        }
 };
 
 #define DES_MIN_KEY_LEN         DES_MINBYTES
 #define DES_MAX_KEY_LEN         DES_MAXBYTES
 #define DES3_MIN_KEY_LEN        DES3_MAXBYTES   /* no CKK_DES2 support */

@@ -213,39 +214,26 @@
         NULL,
         des_key_check
 };
 
 static crypto_ops_t des_crypto_ops = {
-        &des_control_ops,
-        NULL,
-        &des_cipher_ops,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        NULL,
-        &des_key_ops,
-        NULL,
-        &des_ctx_ops,
-        NULL,
-        NULL,
-        NULL
+        .co_control_ops = &des_control_ops,
+        .co_cipher_ops = &des_cipher_ops,
+        .co_key_ops = &des_key_ops,
+        .co_ctx_ops = &des_ctx_ops
 };
 
-static crypto_provider_info_t des_prov_info = {
+static crypto_provider_info_t des_prov_info = {{{{
         CRYPTO_SPI_VERSION_4,
         "DES Software Provider",
         CRYPTO_SW_PROVIDER,
         {&modlinkage},
         NULL,
         &des_crypto_ops,
         sizeof (des_mech_info_tab)/sizeof (crypto_mech_info_t),
         des_mech_info_tab
-};
+}}}};
 
 static crypto_kcf_provider_handle_t des_prov_handle = NULL;
 
 int
 _init(void)