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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/nfs/nfs_common.c
          +++ new/usr/src/uts/common/fs/nfs/nfs_common.c
↓ open down ↓ 177 lines elided ↑ open up ↑
 178  178          void            *ml_linkage[7]; /* NULL terminated list of */
 179  179                                          /* linkage structures */
 180  180  };
 181  181  
 182  182  /*
 183  183   * All of the module configuration linkages required to configure
 184  184   * the system call and client VFS's into the system.
 185  185   */
 186  186  static struct modlinkage_big modlinkage = {
 187  187          MODREV_1,
 188      -        &modlsys,
      188 +        {   &modlsys,
 189  189  #ifdef _SYSCALL32_IMPL
 190      -        &modlsys32,
      190 +            &modlsys32,
 191  191  #endif
 192      -        &modlfs,
 193      -        &modlfs2,
 194      -        &modlfs3,
 195      -        &modlfs4,
 196      -        NULL
      192 +            &modlfs,
      193 +            &modlfs2,
      194 +            &modlfs3,
      195 +            &modlfs4,
      196 +            NULL
      197 +        }
 197  198  };
 198  199  
 199  200  /*
 200  201   * This routine is invoked automatically when the kernel module
 201  202   * containing this routine is loaded.  This allows module specific
 202  203   * initialization to be done when the module is loaded.
 203  204   */
 204  205  int
 205  206  _init(void)
 206  207  {
↓ open down ↓ 116 lines elided ↑ open up ↑
 323  324          if (req->rq_xprt->xp_type == T_RDMA)
 324  325                  return (nfs3_max_transfer_size_rdma);
 325  326          return (nfs3_max_transfer_size_clts);
 326  327  }
 327  328  
 328  329  /* ARGSUSED */
 329  330  static int
 330  331  nfsdyninit(int fstyp, char *name)
 331  332  {
 332  333          static const fs_operation_def_t nfsdyn_vfsops_template[] = {
 333      -                VFSNAME_MOUNTROOT, { .vfs_mountroot = nfsdyn_mountroot },
 334      -                NULL, NULL
      334 +                { VFSNAME_MOUNTROOT, { .vfs_mountroot = nfsdyn_mountroot } },
      335 +                { NULL,                 { NULL } }
 335  336          };
 336  337          int error;
 337  338  
 338  339          error = vfs_setfsops(fstyp, nfsdyn_vfsops_template, &nfsdyn_vfsops);
 339  340          if (error != 0)
 340  341                  return (error);
 341  342  
 342  343          return (0);
 343  344  }
 344  345  
↓ open down ↓ 286 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX