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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/xdb.c
          +++ new/usr/src/uts/common/xen/io/xdb.c
↓ open down ↓ 1841 lines elided ↑ open up ↑
1842 1842   * Module linkage information for the kernel.
1843 1843   */
1844 1844  static struct modldrv modldrv = {
1845 1845          &mod_driverops,                 /* Type of module. */
1846 1846          "vbd backend driver",           /* Name of the module */
1847 1847          &xdb_dev_ops                    /* driver ops */
1848 1848  };
1849 1849  
1850 1850  static struct modlinkage xdb_modlinkage = {
1851 1851          MODREV_1,
1852      -        &modldrv,
1853      -        NULL
     1852 +        { &modldrv, NULL }
1854 1853  };
1855 1854  
1856 1855  int
1857 1856  _init(void)
1858 1857  {
1859 1858          int rv;
1860 1859  
1861 1860          if ((rv = ddi_soft_state_init((void **)&xdb_statep,
1862 1861              sizeof (xdb_t), 0)) == 0)
1863 1862                  if ((rv = mod_install(&xdb_modlinkage)) != 0)
↓ open down ↓ 114 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX