Print this page
style updates to uts/intel/io
7127  remove -Wno-missing-braces from Makefile.uts

*** 113,123 **** nulldev, nulldev, cmdk_bbh_gethandle, cmdk_bbh_htoc, cmdk_bbh_freehandle, ! 0, 0 }; static int cmdkopen(dev_t *dev_p, int flag, int otyp, cred_t *credp); static int cmdkclose(dev_t dev, int flag, int otyp, cred_t *credp); static int cmdkstrategy(struct buf *bp); --- 113,123 ---- nulldev, nulldev, cmdk_bbh_gethandle, cmdk_bbh_htoc, cmdk_bbh_freehandle, ! { NULL, NULL } }; static int cmdkopen(dev_t *dev_p, int flag, int otyp, cred_t *credp); static int cmdkclose(dev_t dev, int flag, int otyp, cred_t *credp); static int cmdkstrategy(struct buf *bp);
*** 192,202 **** "Common Direct Access Disk", &cmdk_ops, /* driver ops */ }; static struct modlinkage modlinkage = { ! MODREV_1, (void *)&modldrv, NULL }; #else /* XPV_HVM_DRIVER */ static struct modlmisc modlmisc = { --- 192,202 ---- "Common Direct Access Disk", &cmdk_ops, /* driver ops */ }; static struct modlinkage modlinkage = { ! MODREV_1, { (void *)&modldrv, NULL } }; #else /* XPV_HVM_DRIVER */ static struct modlmisc modlmisc = {
*** 203,213 **** &mod_miscops, /* Type of module. This one is a misc */ "HVM Common Direct Access Disk", }; static struct modlinkage modlinkage = { ! MODREV_1, (void *)&modlmisc, NULL }; #endif /* XPV_HVM_DRIVER */ /* Function prototypes for cmlb callbacks */ --- 203,213 ---- &mod_miscops, /* Type of module. This one is a misc */ "HVM Common Direct Access Disk", }; static struct modlinkage modlinkage = { ! MODREV_1, { (void *)&modlmisc, NULL } }; #endif /* XPV_HVM_DRIVER */ /* Function prototypes for cmlb callbacks */