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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/tvhci.c
          +++ new/usr/src/uts/common/io/tvhci.c
↓ open down ↓ 149 lines elided ↑ open up ↑
 150  150  extern struct mod_ops mod_driverops;
 151  151  
 152  152  static struct modldrv modldrv = {
 153  153          &mod_driverops,
 154  154          "test vhci driver",
 155  155          &tvhci_ops
 156  156  };
 157  157  
 158  158  static struct modlinkage modlinkage = {
 159  159          MODREV_1,
 160      -        &modldrv,
 161      -        NULL
      160 +        { &modldrv, NULL }
 162  161  };
 163  162  
 164  163  int
 165  164  _init(void)
 166  165  {
 167  166          int rval;
 168  167  
 169  168          if ((rval = ddi_soft_state_init(&tvhci_state,
 170  169              sizeof (struct tvhci_state), 2)) != 0) {
 171  170                  return (rval);
↓ open down ↓ 415 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX