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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/fd.c
          +++ new/usr/src/uts/common/io/fd.c
↓ open down ↓ 155 lines elided ↑ open up ↑
 156  156          {0}
 157  157  };
 158  158  
 159  159  static struct modldrv modldrv = {
 160  160          &mod_driverops,         /* Type of module. This one is a driver */
 161  161          "Floppy Disk driver",   /* Name of the module. */
 162  162          &fd_ops,                /* driver ops */
 163  163  };
 164  164  
 165  165  static struct modlinkage modlinkage = {
 166      -        MODREV_1, (void *)&modldrv, NULL
      166 +        MODREV_1, { (void *)&modldrv, NULL }
 167  167  };
 168  168  
 169  169  
 170  170  int
 171  171  _init(void)
 172  172  {
 173  173          int retval;
 174  174  
 175  175          if ((retval = ddi_soft_state_init(&fd_state_head,
 176  176              sizeof (struct fdisk) + sizeof (struct fd_drive) +
↓ open down ↓ 2148 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX