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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/i86hvm/io/xdf_shell.c
          +++ new/usr/src/uts/i86pc/i86hvm/io/xdf_shell.c
↓ open down ↓ 1211 lines elided ↑ open up ↑
1212 1212  /*
1213 1213   * Module linkage information for the kernel.
1214 1214   */
1215 1215  static struct modldrv modldrv = {
1216 1216          &mod_driverops,         /* Type of module.  This one is a driver. */
1217 1217          NULL,                   /* Module description.  Set by _init() */
1218 1218          &xdfs_ops,              /* Driver ops. */
1219 1219  };
1220 1220  
1221 1221  static struct modlinkage modlinkage = {
1222      -        MODREV_1, (void *)&modldrv, NULL
     1222 +        MODREV_1, { (void *)&modldrv, NULL }
1223 1223  };
1224 1224  
1225 1225  int
1226 1226  _init(void)
1227 1227  {
1228 1228          int rval;
1229 1229  
1230 1230          xdfs_major = ddi_name_to_major((char *)xdfs_c_name);
1231 1231          if (xdfs_major == (major_t)-1)
1232 1232                  return (EINVAL);
↓ open down ↓ 52 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX