Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/dmfe/dmfe_main.c
          +++ new/usr/src/uts/common/io/dmfe/dmfe_main.c
↓ open down ↓ 2821 lines elided ↑ open up ↑
2822 2822  DDI_DEFINE_STREAM_OPS(dmfe_dev_ops, nulldev, nulldev, dmfe_attach, dmfe_detach,
2823 2823          nodev, NULL, D_MP, NULL, ddi_quiesce_not_supported);
2824 2824  
2825 2825  static struct modldrv dmfe_modldrv = {
2826 2826          &mod_driverops,         /* Type of module.  This one is a driver */
2827 2827          dmfe_ident,             /* short description */
2828 2828          &dmfe_dev_ops           /* driver specific ops */
2829 2829  };
2830 2830  
2831 2831  static struct modlinkage modlinkage = {
2832      -        MODREV_1, (void *)&dmfe_modldrv, NULL
     2832 +        MODREV_1, { (void *)&dmfe_modldrv, NULL }
2833 2833  };
2834 2834  
2835 2835  int
2836 2836  _info(struct modinfo *modinfop)
2837 2837  {
2838 2838          return (mod_info(&modlinkage, modinfop));
2839 2839  }
2840 2840  
2841 2841  int
2842 2842  _init(void)
↓ open down ↓ 58 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX