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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/pciex/npe.c
          +++ new/usr/src/uts/i86pc/io/pciex/npe.c
↓ open down ↓ 187 lines elided ↑ open up ↑
 188  188   * Module linkage information for the kernel.
 189  189   */
 190  190  static struct modldrv modldrv = {
 191  191          &mod_driverops,                         /* Type of module */
 192  192          "Host to PCIe nexus driver",            /* Name of module */
 193  193          &npe_ops,                               /* driver ops */
 194  194  };
 195  195  
 196  196  static struct modlinkage modlinkage = {
 197  197          MODREV_1,
 198      -        (void *)&modldrv,
 199      -        NULL
      198 +        { (void *)&modldrv, NULL }
 200  199  };
 201  200  
 202  201  /* Save minimal state. */
 203  202  void *npe_statep;
 204  203  
 205  204  int
 206  205  _init(void)
 207  206  {
 208  207          int e;
 209  208  
↓ open down ↓ 908 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX