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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/scsi/adapters/iscsi/iscsi.c
          +++ new/usr/src/uts/common/io/scsi/adapters/iscsi/iscsi.c
↓ open down ↓ 200 lines elided ↑ open up ↑
 201  201  };
 202  202  
 203  203  static struct modldrv modldrv = {
 204  204          &mod_driverops,         /* drv_modops */
 205  205          ISCSI_NAME_VERSION,     /* drv_linkinfo */
 206  206          &iscsi_dev_ops          /* drv_dev_ops */
 207  207  };
 208  208  
 209  209  static struct modlinkage modlinkage = {
 210  210          MODREV_1,               /* ml_rev */
 211      -        &modldrv,               /* ml_linkage[] */
 212      -        NULL                    /* NULL termination */
      211 +        { &modldrv, NULL }      /* ml_linkage[] */
 213  212  };
 214  213  
 215  214  /*
 216  215   * This structure is bogus. scsi_hba_attach_setup() requires, as in the kernel
 217  216   * will panic if you don't pass this in to the routine, this information.
 218  217   * Need to determine what the actual impact to the system is by providing
 219  218   * this information if any. Since dma allocation is done in pkt_init it may
 220  219   * not have any impact. These values are straight from the Writing Device
 221  220   * Driver manual.
 222  221   */
↓ open down ↓ 5339 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX