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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/busra.c
          +++ new/usr/src/uts/common/io/busra.c
↓ open down ↓ 144 lines elided ↑ open up ↑
 145  145  #define RA_REMOVE(prev, el) \
 146  146          *prev = el->ra_next;
 147  147  
 148  148  
 149  149  static struct modlmisc modlmisc = {
 150  150          &mod_miscops,           /* Type of module. This one is a module */
 151  151          "Bus Resource Allocator (BUSRA)",       /* Name of the module. */
 152  152  };
 153  153  
 154  154  static struct modlinkage modlinkage = {
 155      -        MODREV_1, (void *)&modlmisc, NULL
      155 +        MODREV_1, { (void *)&modlmisc, NULL }
 156  156  };
 157  157  
 158  158  int
 159  159  _init()
 160  160  {
 161  161          int     ret;
 162  162  
 163  163          mutex_init(&ra_lock, NULL, MUTEX_DRIVER,
 164  164              (void *)(intptr_t)__ipltospl(SPL7 - 1));
 165  165          if ((ret = mod_install(&modlinkage)) != 0) {
↓ open down ↓ 1542 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX