Print this page
fixup .text where possible
7127 remove -Wno-missing-braces from Makefile.uts
*** 111,122 ****
&ncall_ops
};
static struct modlinkage modlinkage = {
MODREV_1,
! &modldrv,
! 0
};
typedef struct ncall_modinfo_s {
struct ncall_modinfo_s *next;
ncall_module_t *module;
--- 111,121 ----
&ncall_ops
};
static struct modlinkage modlinkage = {
MODREV_1,
! { &modldrv, NULL }
};
typedef struct ncall_modinfo_s {
struct ncall_modinfo_s *next;
ncall_module_t *module;
*** 339,349 ****
/* ARGSUSED */
static int ncallioctl(dev_t dev, int cmd, intptr_t arg, int mode,
cred_t *crp, int *rvalp)
{
! ncall_node_t node = { 0, };
int mirror;
int rc = 0;
*rvalp = 0;
--- 338,348 ----
/* ARGSUSED */
static int ncallioctl(dev_t dev, int cmd, intptr_t arg, int mode,
cred_t *crp, int *rvalp)
{
! ncall_node_t node = { .nc_nodeid = 0 };
int mirror;
int rc = 0;
*rvalp = 0;