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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/i86hvm/io/hvm_bootstrap.c
          +++ new/usr/src/uts/i86pc/i86hvm/io/hvm_bootstrap.c
↓ open down ↓ 65 lines elided ↑ open up ↑
  66   66  
  67   67          ndi_rele_devi(xpvd_dip);
  68   68          return (0);
  69   69  }
  70   70  
  71   71  static struct modlmisc modlmisc = {
  72   72          &mod_miscops, "hvm_bootstrap misc module"
  73   73  };
  74   74  
  75   75  static struct modlinkage modlinkage = {
  76      -        MODREV_1, (void *)&modlmisc, NULL
       76 +        MODREV_1, { (void *)&modlmisc, NULL }
  77   77  };
  78   78  
  79   79  int
  80   80  _info(struct modinfo *modinfop)
  81   81  {
  82   82          return (mod_info(&modlinkage, modinfop));
  83   83  }
  84   84  
  85   85  int
  86   86  _init()
  87   87  {
  88   88          return (mod_install(&modlinkage));
  89   89  }
  90   90  
  91   91  int
  92   92  _fini()
  93   93  {
  94   94          return (EBUSY);
  95   95  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX