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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ib/clients/rds/rdsib.c
          +++ new/usr/src/uts/common/io/ib/clients/rds/rdsib.c
↓ open down ↓ 135 lines elided ↑ open up ↑
 136  136   */
 137  137  #define RDS_DEVDESC     "RDS IB driver"
 138  138  static struct modldrv rdsib_modldrv = {
 139  139          &mod_driverops,         /* Driver module */
 140  140          RDS_DEVDESC,            /* Driver name and version */
 141  141          &rdsib_ops,             /* Driver ops */
 142  142  };
 143  143  
 144  144  static struct modlinkage rdsib_modlinkage = {
 145  145          MODREV_1,
 146      -        (void *)&rdsib_modldrv,
 147      -        NULL
      146 +        { (void *)&rdsib_modldrv, NULL }
 148  147  };
 149  148  
 150  149  /* Called from _init */
 151  150  int
 152  151  rdsib_init()
 153  152  {
 154  153          /* RDS supports only one instance */
 155  154          rdsib_statep = kmem_zalloc(sizeof (rds_state_t), KM_SLEEP);
 156  155  
 157  156          rw_init(&rdsib_statep->rds_sessionlock, NULL, RW_DRIVER, NULL);
↓ open down ↓ 253 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX