Print this page
fixup .text where possible
7127 remove -Wno-missing-braces from Makefile.uts
*** 137,148 ****
"Kernel Random number Provider"
};
static struct modlinkage modlinkage = {
MODREV_1,
! (void *)&modlcrypto,
! NULL
};
/*
* CSPI information (entry points, provider info, etc.)
*/
--- 137,148 ----
"Kernel Random number Provider"
};
static struct modlinkage modlinkage = {
MODREV_1,
! { (void *)&modlcrypto,
! NULL }
};
/*
* CSPI information (entry points, provider info, etc.)
*/
*** 161,199 ****
swrand_seed_random,
swrand_generate_random
};
static crypto_ops_t swrand_crypto_ops = {
! &swrand_control_ops,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! &swrand_random_number_ops,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
! NULL,
};
! static crypto_provider_info_t swrand_prov_info = {
CRYPTO_SPI_VERSION_4,
"Kernel Random Number Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&swrand_crypto_ops,
0,
NULL
! };
int
_init(void)
{
int ret;
--- 161,184 ----
swrand_seed_random,
swrand_generate_random
};
static crypto_ops_t swrand_crypto_ops = {
! .co_control_ops = &swrand_control_ops,
! .co_random_ops = &swrand_random_number_ops
};
! static crypto_provider_info_t swrand_prov_info = {{{{
CRYPTO_SPI_VERSION_4,
"Kernel Random Number Provider",
CRYPTO_SW_PROVIDER,
{&modlinkage},
NULL,
&swrand_crypto_ops,
0,
NULL
! }}}};
int
_init(void)
{
int ret;