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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/i86hvm/io/pv_rtls.c
          +++ new/usr/src/uts/i86pc/i86hvm/io/pv_rtls.c
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  /*
  51   51   * Module linkage information for the kernel.
  52   52   */
  53   53  static struct modldrv modldrv = {
  54   54          &mod_driverops,
  55   55          "xVM rtls stub",
  56   56          &pv_rtls_ops
  57   57  };
  58   58  
  59   59  static struct modlinkage modlinkage = {
  60      -        MODREV_1, (void *)&modldrv, NULL
       60 +        MODREV_1, { (void *)&modldrv, NULL }
  61   61  };
  62   62  
  63   63  int
  64   64  _init(void)
  65   65  {
  66   66          return (mod_install(&modlinkage));
  67   67  }
  68   68  
  69   69  int
  70   70  _info(struct modinfo *modinfop)
  71   71  {
  72   72          return (mod_info(&modlinkage, modinfop));
  73   73  }
  74   74  
  75   75  int
  76   76  _fini(void)
  77   77  {
  78   78          return (EBUSY);
  79   79  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX