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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/sunmdi.c
          +++ new/usr/src/uts/common/os/sunmdi.c
↓ open down ↓ 9003 lines elided ↑ open up ↑
9004 9004   * for those phci drivers whose driver.conf files don't yet contain this info.
9005 9005   *
9006 9006   * All phci drivers expect iscsi have root device support.
9007 9007   */
9008 9008  static mdi_phci_driver_info_t scsi_phci_driver_list[] = {
9009 9009          { "fp", 1 },
9010 9010          { "iscsi", 0 },
9011 9011          { "ibsrp", 1 }
9012 9012          };
9013 9013  
9014      -static mdi_phci_driver_info_t ib_phci_driver_list[] = { "tavor", 1 };
     9014 +static mdi_phci_driver_info_t ib_phci_driver_list[] = {{ "tavor", 1 }};
9015 9015  
9016 9016  static void *
9017 9017  mdi_realloc(void *old_ptr, size_t old_size, size_t new_size)
9018 9018  {
9019 9019          void *new_ptr;
9020 9020  
9021 9021          new_ptr = kmem_zalloc(new_size, KM_SLEEP);
9022 9022          if (old_ptr) {
9023 9023                  bcopy(old_ptr, new_ptr, MIN(old_size, new_size));
9024 9024                  kmem_free(old_ptr, old_size);
↓ open down ↓ 720 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX