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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/tl.c
          +++ new/usr/src/uts/common/io/tl.c
↓ open down ↓ 451 lines elided ↑ open up ↑
 452  452  opdes_t tl_opt_arr[] = {
 453  453          /* The SO_TYPE is needed for the hack below */
 454  454          {
 455  455                  SO_TYPE,
 456  456                  SOL_SOCKET,
 457  457                  OA_R,
 458  458                  OA_R,
 459  459                  OP_NP,
 460  460                  0,
 461  461                  sizeof (t_scalar_t),
 462      -                0
      462 +                { 0 }
 463  463          },
 464  464          {
 465  465                  SO_RECVUCRED,
 466  466                  SOL_SOCKET,
 467  467                  OA_RW,
 468  468                  OA_RW,
 469  469                  OP_NP,
 470  470                  0,
 471  471                  sizeof (int),
 472      -                0
      472 +                { 0 }
 473  473          }
 474  474  };
 475  475  
 476  476  /*
 477  477   * Table of all supported levels
 478  478   * Note: Some levels (e.g. XTI_GENERIC) may be valid but may not have
 479  479   * any supported options so we need this info separately.
 480  480   *
 481  481   * This is needed only for topmost tpi providers.
 482  482   */
↓ open down ↓ 258 lines elided ↑ open up ↑
 741  741          &mod_driverops,         /* Type of module -- pseudo driver here */
 742  742          "TPI Local Transport (tl)",
 743  743          &tl_devops,             /* driver ops */
 744  744  };
 745  745  
 746  746  /*
 747  747   * Module linkage information for the kernel.
 748  748   */
 749  749  static struct modlinkage modlinkage = {
 750  750          MODREV_1,
 751      -        &modldrv,
 752      -        NULL
      751 +        { &modldrv, NULL }
 753  752  };
 754  753  
 755  754  /*
 756  755   * Templates for response to info request
 757  756   * Check sanity of unlimited connect data etc.
 758  757   */
 759  758  
 760  759  #define         TL_CLTS_PROVIDER_FLAG   (XPG4_1|SENDZERO)
 761  760  #define         TL_COTS_PROVIDER_FLAG   (XPG4_1|SENDZERO)
 762  761  
↓ open down ↓ 5547 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX