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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/comstar/port/srpt/srpt_ioc.c
          +++ new/usr/src/uts/common/io/comstar/port/srpt/srpt_ioc.c
↓ open down ↓ 1226 lines elided ↑ open up ↑
1227 1227  
1228 1228  /*
1229 1229   * srpt_ioc_init_profile()
1230 1230   *
1231 1231   * SRP I/O Controller serialization lock must be held when this
1232 1232   * routine is invoked.
1233 1233   */
1234 1234  void
1235 1235  srpt_ioc_init_profile(srpt_ioc_t *ioc)
1236 1236  {
1237      -        srpt_ioc_opcap_mask_t           capmask = {0};
     1237 +        srpt_ioc_opcap_mask_t           capmask = {{0}};
1238 1238  
1239 1239          ASSERT(ioc != NULL);
1240 1240  
1241 1241          ioc->ioc_profile.ioc_guid = h2b64(ioc->ioc_guid);
1242 1242          (void) memcpy(ioc->ioc_profile.ioc_id_string,
1243 1243              "Solaris SRP Target 0.9a", 23);
1244 1244  
1245 1245          /*
1246 1246           * Note vendor ID and subsystem ID are 24 bit values.  Low order
1247 1247           * 8 bits in vendor ID field is slot and is initialized to zero.
↓ open down ↓ 396 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX