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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/hotplug/pcihp/pcihp.c
          +++ new/usr/src/uts/common/io/hotplug/pcihp/pcihp.c
↓ open down ↓ 304 lines elided ↑ open up ↑
 305  305   * Module linkage information for the kernel.
 306  306   */
 307  307  extern struct mod_ops mod_miscops;
 308  308  static struct modlmisc modlmisc = {
 309  309          &mod_miscops,
 310  310          "PCI nexus hotplug support",
 311  311  };
 312  312  
 313  313  static struct modlinkage modlinkage = {
 314  314          MODREV_1,
 315      -        &modlmisc,
 316      -        NULL
      315 +        { &modlmisc, NULL }
 317  316  };
 318  317  
 319  318  int
 320  319  _init(void)
 321  320  {
 322  321          int error;
 323  322  
 324  323          mutex_init(&pcihp_mutex, NULL, MUTEX_DRIVER, NULL);
 325  324          mutex_init(&pcihp_open_mutex, NULL, MUTEX_DRIVER, NULL);
 326  325          if ((error = mod_install(&modlinkage)) != 0) {
↓ open down ↓ 3715 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX