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/rdsv3/rdsv3_ddi.c
          +++ new/usr/src/uts/common/io/ib/clients/rdsv3/rdsv3_ddi.c
↓ open down ↓ 244 lines elided ↑ open up ↑
 245  245   */
 246  246  #define RDSV3_DEVDESC   "RDSv3 IB transport driver"
 247  247  static struct modldrv rdsv3_modldrv = {
 248  248          &mod_driverops,         /* Driver module */
 249  249          RDSV3_DEVDESC,          /* Driver name and version */
 250  250          &rdsv3_ops,             /* Driver ops */
 251  251  };
 252  252  
 253  253  static struct modlinkage rdsv3_modlinkage = {
 254  254          MODREV_1,
 255      -        (void *)&rdsv3_modldrv,
 256      -        NULL
      255 +        { (void *)&rdsv3_modldrv, NULL }
 257  256  };
 258  257  
 259  258  int
 260  259  _init(void)
 261  260  {
 262  261          int     ret;
 263  262  
 264  263          if (ibt_hw_is_present() == 0) {
 265  264                  return (ENODEV);
 266  265          }
↓ open down ↓ 39 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX