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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/scsi/targets/ses.c
          +++ new/usr/src/uts/common/io/scsi/targets/ses.c
↓ open down ↓ 181 lines elided ↑ open up ↑
 182  182   * autoconfiguration routines.
 183  183   */
 184  184  
 185  185  static struct modldrv modldrv = {
 186  186          &mod_driverops,
 187  187          "SCSI Enclosure Services",
 188  188          &ses_dev_ops
 189  189  };
 190  190  
 191  191  static struct modlinkage modlinkage = {
 192      -        MODREV_1, &modldrv, NULL
      192 +        MODREV_1, { &modldrv, NULL }
 193  193  };
 194  194  
 195  195  
 196  196  int
 197  197  _init(void)
 198  198  {
 199  199          int status;
 200  200          status = ddi_soft_state_init(&estate, sizeof (ses_softc_t), 0);
 201  201          if (status == 0) {
 202  202                  if ((status = mod_install(&modlinkage)) != 0) {
↓ open down ↓ 1508 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX