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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/fifofs/fifosubr.c
          +++ new/usr/src/uts/common/fs/fifofs/fifosubr.c
↓ open down ↓ 83 lines elided ↑ open up ↑
  84   84  /*
  85   85   * Module linkage information for the kernel.
  86   86   */
  87   87  extern struct mod_ops mod_fsops;
  88   88  
  89   89  static struct modlfs modlfs = {
  90   90          &mod_fsops, "filesystem for fifo", &vfw
  91   91  };
  92   92  
  93   93  static struct modlinkage modlinkage = {
  94      -        MODREV_1, (void *)&modlfs, NULL
       94 +        MODREV_1, { (void *)&modlfs, NULL }
  95   95  };
  96   96  
  97   97  int
  98   98  _init()
  99   99  {
 100  100          return (mod_install(&modlinkage));
 101  101  }
 102  102  
 103  103  int
 104  104  _info(struct modinfo *modinfop)
↓ open down ↓ 214 lines elided ↑ open up ↑
 319  319  /*
 320  320   * Save file system type/index, initialize vfs operations vector, get
 321  321   * unique device number for FIFOFS and initialize the FIFOFS hash.
 322  322   * Create and initialize a "generic" vfs pointer that will be placed
 323  323   * in the v_vfsp field of each pipe's vnode.
 324  324   */
 325  325  int
 326  326  fifoinit(int fstype, char *name)
 327  327  {
 328  328          static const fs_operation_def_t fifo_vfsops_template[] = {
 329      -                NULL, NULL
      329 +                { NULL, { NULL } }
 330  330          };
 331  331          int error;
 332  332          major_t dev;
 333  333  
 334  334          fifofstype = fstype;
 335  335          error = vfs_setfsops(fstype, fifo_vfsops_template, &fifo_vfsops);
 336  336          if (error != 0) {
 337  337                  cmn_err(CE_WARN, "fifoinit: bad vfs ops template");
 338  338                  return (error);
 339  339          }
↓ open down ↓ 866 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX