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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/pseudonex.c
          +++ new/usr/src/uts/common/io/pseudonex.c
↓ open down ↓ 159 lines elided ↑ open up ↑
 160  160  /*
 161  161   * Module linkage information for the kernel.
 162  162   */
 163  163  static struct modldrv modldrv = {
 164  164          &mod_driverops,
 165  165          "nexus driver for 'pseudo' 1.31",
 166  166          &pseudo_ops,
 167  167  };
 168  168  
 169  169  static struct modlinkage modlinkage = {
 170      -        MODREV_1, (void *)&modldrv, NULL
      170 +        MODREV_1, { (void *)&modldrv, NULL }
 171  171  };
 172  172  
 173  173  int
 174  174  _init(void)
 175  175  {
 176  176          int err;
 177  177  
 178  178          if ((err = ddi_soft_state_init(&pseudonex_state,
 179  179              sizeof (pseudonex_state_t), 0)) != 0) {
 180  180                  return (err);
↓ open down ↓ 357 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX