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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/dump.c
          +++ new/usr/src/uts/common/io/dump.c
↓ open down ↓ 254 lines elided ↑ open up ↑
 255  255          (struct bus_ops *)0,    /* bus operations */
 256  256          NULL,                   /* power */
 257  257          ddi_quiesce_not_needed,         /* quiesce */
 258  258  };
 259  259  
 260  260  static struct modldrv modldrv = {
 261  261          &mod_driverops, "crash dump driver", &dump_ops,
 262  262  };
 263  263  
 264  264  static struct modlinkage modlinkage = {
 265      -        MODREV_1, (void *)&modldrv, NULL
      265 +        MODREV_1, { (void *)&modldrv, NULL }
 266  266  };
 267  267  
 268  268  int
 269  269  _init(void)
 270  270  {
 271  271          return (mod_install(&modlinkage));
 272  272  }
 273  273  
 274  274  int
 275  275  _fini(void)
 276  276  {
 277  277          return (mod_remove(&modlinkage));
 278  278  }
 279  279  
 280  280  int
 281  281  _info(struct modinfo *modinfop)
 282  282  {
 283  283          return (mod_info(&modlinkage, modinfop));
 284  284  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX