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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/devfm.c
          +++ new/usr/src/uts/common/io/devfm.c
↓ open down ↓ 383 lines elided ↑ open up ↑
 384  384          nodev,                  /* reset */
 385  385          &fm_cb_ops,             /* driver operations */
 386  386          (struct bus_ops *)0     /* bus operations */
 387  387  };
 388  388  
 389  389  static struct modldrv modldrv = {
 390  390          &mod_driverops, "fault management driver", &fm_ops,
 391  391  };
 392  392  
 393  393  static struct modlinkage modlinkage = {
 394      -        MODREV_1, &modldrv, NULL
      394 +        MODREV_1, { &modldrv, NULL }
 395  395  };
 396  396  
 397  397  int
 398  398  _init(void)
 399  399  {
 400  400          const fm_vers_t *p;
 401  401          int ret;
 402  402  
 403  403  
 404  404          if ((ret = mod_install(&modlinkage)) == 0) {
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX