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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/xnb.c
          +++ new/usr/src/uts/common/xen/io/xnb.c
↓ open down ↓ 2031 lines elided ↑ open up ↑
2032 2032          default:
2033 2033                  break;
2034 2034          }
2035 2035  }
2036 2036  
2037 2037  static struct modldrv modldrv = {
2038 2038          &mod_miscops, "xnb",
2039 2039  };
2040 2040  
2041 2041  static struct modlinkage modlinkage = {
2042      -        MODREV_1, &modldrv, NULL
     2042 +        MODREV_1, { &modldrv, NULL }
2043 2043  };
2044 2044  
2045 2045  int
2046 2046  _init(void)
2047 2047  {
2048 2048          int i;
2049 2049  
2050 2050          mutex_init(&xnb_alloc_page_lock, NULL, MUTEX_DRIVER, NULL);
2051 2051  
2052 2052          i = mod_install(&modlinkage);
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX