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

@@ -56,12 +56,12 @@
         "RSA Kernel SW Provider"
 };
 
 static struct modlinkage modlinkage = {
         MODREV_1,
-        (void *)&modlcrypto,
-        NULL
+        {   (void *)&modlcrypto,
+            NULL }
 };
 
 /*
  * CSPI information (entry points, provider info, etc.)
  */

@@ -272,11 +272,11 @@
 static crypto_ctx_ops_t rsa_ctx_ops = {
         NULL,
         rsa_free_context
 };
 
-static crypto_ops_t rsa_crypto_ops = {
+static crypto_ops_t rsa_crypto_ops = {{{{{{
         &rsa_control_ops,
         NULL,
         &rsa_cipher_ops,
         NULL,
         &rsa_sign_ops,

@@ -286,26 +286,26 @@
         NULL,
         NULL,
         NULL,
         NULL,
         NULL,
-        &rsa_ctx_ops,
-        NULL,
-        NULL,
-        NULL,
-};
+                                &rsa_ctx_ops }, /* cou_v1 */
+                        NULL },                 /* cou_v2 */
+                NULL },                         /* cou_v3 */
+        NULL }                                  /* cou_v4 */
+}};
 
-static crypto_provider_info_t rsa_prov_info = {
+static crypto_provider_info_t rsa_prov_info = {{{{
         CRYPTO_SPI_VERSION_4,
         "RSA Software Provider",
         CRYPTO_SW_PROVIDER,
         {&modlinkage},
         NULL,
         &rsa_crypto_ops,
         sizeof (rsa_mech_info_tab)/sizeof (crypto_mech_info_t),
         rsa_mech_info_tab
-};
+}}}};
 
 static int rsa_encrypt_common(rsa_mech_type_t, crypto_key_t *,
     crypto_data_t *, crypto_data_t *);
 static int rsa_decrypt_common(rsa_mech_type_t, crypto_key_t *,
     crypto_data_t *, crypto_data_t *);