Print this page
cstyle sort of updates
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/avs/ns/nsctl/nsc_freeze.c
          +++ new/usr/src/uts/common/avs/ns/nsctl/nsc_freeze.c
↓ open down ↓ 294 lines elided ↑ open up ↑
 295  295   *      to attach the device to this I/O module (ie. as part of
 296  296   *      nsc_reserve() processing).  This function unconditionally
 297  297   *      returns an error which forces the nsc_reserve() to fail, and
 298  298   *      so no access to possible to the underlying device.
 299  299   */
 300  300  static int
 301  301  _nsc_frz_attach() { return (EACCES); }
 302  302  
 303  303  
 304  304  static nsc_def_t _nsc_frz_def[] = {
 305      -        "Open",         (uintptr_t)_nsc_frz_open,               0,
 306      -        "Close",        (uintptr_t)_nsc_frz_close,              0,
 307      -        "Attach",       (uintptr_t)_nsc_frz_attach,             0,
 308      -        "Provide",      0,                              0,
 309      -        0,              0,                              0
      305 +        { "Open",       (uintptr_t)_nsc_frz_open,       0 },
      306 +        { "Close",      (uintptr_t)_nsc_frz_close,      0 },
      307 +        { "Attach",     (uintptr_t)_nsc_frz_attach,     0 },
      308 +        { "Provide",    (uintptr_t)NULL,                0 },
      309 +        { NULL,         (uintptr_t)NULL,                0 }
 310  310  };
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX