Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 75,85 ****
struct tgcom_objops dadk_com_ops = {
nodev,
nodev,
dadk_pkt,
dadk_transport,
! 0, 0
};
/*
* architecture dependent allocation restrictions for dadk_iob_alloc(). For
* x86, we'll set dma_attr_addr_hi to dadk_max_phys_addr and dma_attr_sgllen
--- 75,85 ----
struct tgcom_objops dadk_com_ops = {
nodev,
nodev,
dadk_pkt,
dadk_transport,
! { NULL, NULL }
};
/*
* architecture dependent allocation restrictions for dadk_iob_alloc(). For
* x86, we'll set dma_attr_addr_hi to dadk_max_phys_addr and dma_attr_sgllen
*** 151,161 ****
dadk_getphygeom,
dadk_set_bbhobj,
dadk_check_media,
dadk_inquiry,
dadk_cleanup,
! 0
};
/*
* Local static data
*/
--- 151,161 ----
dadk_getphygeom,
dadk_set_bbhobj,
dadk_check_media,
dadk_inquiry,
dadk_cleanup,
! { NULL }
};
/*
* Local static data
*/
*** 246,256 ****
&mod_miscops, /* Type of module */
"Direct Attached Disk"
};
static struct modlinkage modlinkage = {
! MODREV_1, (void *)&modlmisc, NULL
};
int
_init(void)
{
--- 246,256 ----
&mod_miscops, /* Type of module */
"Direct Attached Disk"
};
static struct modlinkage modlinkage = {
! MODREV_1, { (void *)&modlmisc, NULL }
};
int
_init(void)
{