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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/pci/pci.c
          +++ new/usr/src/uts/i86pc/io/pci/pci.c
↓ open down ↓ 165 lines elided ↑ open up ↑
 166  166   */
 167  167  
 168  168  static struct modldrv modldrv = {
 169  169          &mod_driverops,                         /* Type of module */
 170  170          "x86 Host to PCI nexus driver",         /* Name of module */
 171  171          &pci_ops,                               /* driver ops */
 172  172  };
 173  173  
 174  174  static struct modlinkage modlinkage = {
 175  175          MODREV_1,
 176      -        (void *)&modldrv,
 177      -        NULL
      176 +        { (void *)&modldrv, NULL }
 178  177  };
 179  178  
 180  179  int
 181  180  _init(void)
 182  181  {
 183  182          int e;
 184  183  
 185  184          /*
 186  185           * Initialize per-pci bus soft state pointer.
 187  186           */
↓ open down ↓ 669 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX