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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/scsi/adapters/pvscsi/pvscsi.c
          +++ new/usr/src/uts/intel/io/scsi/adapters/pvscsi/pvscsi.c
↓ open down ↓ 2635 lines elided ↑ open up ↑
2636 2636  #define PVSCSI_IDENT "VMware PVSCSI"
2637 2637  
2638 2638  static struct modldrv modldrv = {
2639 2639          &mod_driverops,
2640 2640          PVSCSI_IDENT,
2641 2641          &pvscsi_ops,
2642 2642  };
2643 2643  
2644 2644  static struct modlinkage modlinkage = {
2645 2645          MODREV_1,
2646      -        &modldrv,
2647      -        NULL
     2646 +        { &modldrv, NULL }
2648 2647  };
2649 2648  
2650 2649  int
2651 2650  _init(void)
2652 2651  {
2653 2652          int     ret;
2654 2653  
2655 2654          if ((ret = ddi_soft_state_init(&pvscsi_sstate,
2656 2655              sizeof (struct pvscsi_softc), PVSCSI_INITIAL_SSTATE_ITEMS)) != 0) {
2657 2656                  cmn_err(CE_WARN, "!ddi_soft_state_init() failed");
↓ open down ↓ 36 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX