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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/xpv_autoconfig.c
          +++ new/usr/src/uts/common/xen/io/xpv_autoconfig.c
↓ open down ↓ 48 lines elided ↑ open up ↑
  49   49  
  50   50  /*
  51   51   * Interface routines
  52   52   */
  53   53  
  54   54  static struct modlmisc modlmisc = {
  55   55          &mod_miscops, "virtual device probe"
  56   56  };
  57   57  
  58   58  static struct modlinkage modlinkage = {
  59      -        MODREV_1, (void *)&modlmisc, NULL
       59 +        MODREV_1, { (void *)&modlmisc, NULL }
  60   60  };
  61   61  
  62   62  int
  63   63  _init(void)
  64   64  {
  65   65          int     err;
  66   66  
  67   67          if ((err = mod_install(&modlinkage)) != 0)
  68   68                  return (err);
  69   69  
↓ open down ↓ 51 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX