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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ramdisk.c
          +++ new/usr/src/uts/common/io/ramdisk.c
↓ open down ↓ 1378 lines elided ↑ open up ↑
1379 1379  extern struct mod_ops mod_driverops;
1380 1380  
1381 1381  static struct modldrv modldrv = {
1382 1382          &mod_driverops,
1383 1383          "ramdisk driver",
1384 1384          &rd_ops
1385 1385  };
1386 1386  
1387 1387  static struct modlinkage modlinkage = {
1388 1388          MODREV_1,
1389      -        &modldrv,
1390      -        0
     1389 +        { &modldrv, NULL }
1391 1390  };
1392 1391  
1393 1392  int
1394 1393  _init(void)
1395 1394  {
1396 1395          int e;
1397 1396  
1398 1397          if ((e = ddi_soft_state_init(&rd_statep,
1399 1398              sizeof (rd_devstate_t), 0)) != 0) {
1400 1399                  return (e);
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX