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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/devfs/devfs_subr.c
          +++ new/usr/src/uts/common/fs/devfs/devfs_subr.c
↓ open down ↓ 73 lines elided ↑ open up ↑
  74   74  vattr_t dv_vattr_dir = {
  75   75          AT_TYPE|AT_MODE|AT_UID|AT_GID,          /* va_mask */
  76   76          VDIR,                                   /* va_type */
  77   77          DV_DIRMODE_DEFAULT,                     /* va_mode */
  78   78          DV_UID_DEFAULT,                         /* va_uid */
  79   79          DV_GID_DEFAULT,                         /* va_gid */
  80   80          0,                                      /* va_fsid; */
  81   81          0,                                      /* va_nodeid; */
  82   82          0,                                      /* va_nlink; */
  83   83          0,                                      /* va_size; */
  84      -        0,                                      /* va_atime; */
  85      -        0,                                      /* va_mtime; */
  86      -        0,                                      /* va_ctime; */
       84 +        {0},                                    /* va_atime; */
       85 +        {0},                                    /* va_mtime; */
       86 +        {0},                                    /* va_ctime; */
  87   87          0,                                      /* va_rdev; */
  88   88          0,                                      /* va_blksize; */
  89   89          0,                                      /* va_nblocks; */
  90   90          0,                                      /* va_seq; */
  91   91  };
  92   92  
  93   93  vattr_t dv_vattr_file = {
  94   94          AT_TYPE|AT_MODE|AT_SIZE|AT_UID|AT_GID|AT_RDEV,  /* va_mask */
  95   95          0,                                      /* va_type */
  96   96          DV_DEVMODE_DEFAULT,                     /* va_mode */
  97   97          DV_UID_DEFAULT,                         /* va_uid */
  98   98          DV_GID_DEFAULT,                         /* va_gid */
  99   99          0,                                      /* va_fsid; */
 100  100          0,                                      /* va_nodeid; */
 101  101          0,                                      /* va_nlink; */
 102  102          0,                                      /* va_size; */
 103      -        0,                                      /* va_atime; */
 104      -        0,                                      /* va_mtime; */
 105      -        0,                                      /* va_ctime; */
      103 +        {0},                                    /* va_atime; */
      104 +        {0},                                    /* va_mtime; */
      105 +        {0},                                    /* va_ctime; */
 106  106          0,                                      /* va_rdev; */
 107  107          0,                                      /* va_blksize; */
 108  108          0,                                      /* va_nblocks; */
 109  109          0,                                      /* va_seq; */
 110  110  };
 111  111  
 112  112  vattr_t dv_vattr_priv = {
 113  113          AT_TYPE|AT_MODE|AT_SIZE|AT_UID|AT_GID|AT_RDEV,  /* va_mask */
 114  114          0,                                      /* va_type */
 115  115          DV_DEVMODE_PRIV,                        /* va_mode */
 116  116          DV_UID_DEFAULT,                         /* va_uid */
 117  117          DV_GID_DEFAULT,                         /* va_gid */
 118  118          0,                                      /* va_fsid; */
 119  119          0,                                      /* va_nodeid; */
 120  120          0,                                      /* va_nlink; */
 121  121          0,                                      /* va_size; */
 122      -        0,                                      /* va_atime; */
 123      -        0,                                      /* va_mtime; */
 124      -        0,                                      /* va_ctime; */
      122 +        {0},                                    /* va_atime; */
      123 +        {0},                                    /* va_mtime; */
      124 +        {0},                                    /* va_ctime; */
 125  125          0,                                      /* va_rdev; */
 126  126          0,                                      /* va_blksize; */
 127  127          0,                                      /* va_nblocks; */
 128  128          0,                                      /* va_seq; */
 129  129  };
 130  130  
 131  131  extern dev_info_t       *clone_dip;
 132  132  extern major_t          clone_major;
 133  133  extern struct dev_ops   *ddi_hold_driver(major_t);
 134  134  
↓ open down ↓ 1789 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX