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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/fibre-channel/ulp/fcip.c
          +++ new/usr/src/uts/common/io/fibre-channel/ulp/fcip.c
↓ open down ↓ 426 lines elided ↑ open up ↑
 427  427          ((struct *)kmem_zalloc((size_t)(sizeof (struct) * (number)), \
 428  428                  KM_SLEEP))
 429  429  
 430  430  static struct modldrv modldrv = {
 431  431          &mod_driverops,                 /* Type of module - driver */
 432  432          FCIP_NAME,                      /* Name of module */
 433  433          &fcip_ops,                      /* driver ops */
 434  434  };
 435  435  
 436  436  static struct modlinkage modlinkage = {
 437      -        MODREV_1, (void *)&modldrv, NULL
      437 +        MODREV_1, { (void *)&modldrv, NULL }
 438  438  };
 439  439  
 440  440  
 441  441  /*
 442  442   * Now for some global statics
 443  443   */
 444  444  static uint32_t fcip_ub_nbufs = FCIP_UB_NBUFS;
 445  445  static uint32_t fcip_ub_size = FCIP_UB_SIZE;
 446  446  static int fcip_pkt_ttl_ticks = FCIP_PKT_TTL;
 447  447  static int fcip_tick_incr = 1;
↓ open down ↓ 88 lines elided ↑ open up ↑
 536  536          DL_VERSION_2,                           /* dl_version */
 537  537          ETHERADDRL,                             /* dl_brdcst_addr_length */
 538  538          sizeof (dl_info_ack_t) + FCIPADDRL,     /* dl_brdcst_addr_offset */
 539  539          0                                       /* dl_growth */
 540  540  };
 541  541  
 542  542  /*
 543  543   * FCIP broadcast address definition.
 544  544   */
 545  545  static  struct ether_addr       fcipnhbroadcastaddr = {
 546      -        0xff, 0xff, 0xff, 0xff, 0xff, 0xff
      546 +        { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
 547  547  };
 548  548  
 549  549  /*
 550  550   * RFC2625 requires the broadcast ARP address in the ARP data payload to
 551  551   * be set to 0x00 00 00 00 00 00 for ARP broadcast packets
 552  552   */
 553  553  static  struct ether_addr       fcip_arpbroadcast_addr = {
 554      -        0x00, 0x00, 0x00, 0x00, 0x00, 0x00
      554 +        { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
 555  555  };
 556  556  
 557  557  
 558  558  #define ether_bcopy(src, dest)  bcopy((src), (dest), ETHERADDRL);
 559  559  
 560  560  /*
 561  561   * global kernel locks
 562  562   */
 563  563  static kcondvar_t       fcip_global_cv;
 564  564  static kmutex_t         fcip_global_mutex;
↓ open down ↓ 7061 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX