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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/hotplug/hpcsvc/hpcsvc.c
          +++ new/usr/src/uts/common/io/hotplug/hpcsvc/hpcsvc.c
↓ open down ↓ 248 lines elided ↑ open up ↑
 249  249   * loadable module definitions:
 250  250   */
 251  251  extern struct mod_ops mod_miscops;
 252  252  
 253  253  static struct modlmisc modlmisc = {
 254  254          &mod_miscops,   /* Type of module */
 255  255          "hot-plug controller services"
 256  256  };
 257  257  
 258  258  static struct modlinkage modlinkage = {
 259      -        MODREV_1, (void *)&modlmisc, NULL
      259 +        MODREV_1, { (void *)&modlmisc, NULL }
 260  260  };
 261  261  
 262  262  int
 263  263  _init(void)
 264  264  {
 265  265          int e;
 266  266  
 267  267          mutex_init(&hpc_bus_mutex, NULL, MUTEX_DRIVER, NULL);
 268  268  
 269  269          /*
↓ open down ↓ 676 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX