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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/smbsrv/smb_init.c
          +++ new/usr/src/uts/common/fs/smbsrv/smb_init.c
↓ open down ↓ 153 lines elided ↑ open up ↑
 154  154  };
 155  155  
 156  156  static struct modldrv modldrv = {
 157  157          &mod_driverops,                                 /* drv_modops */
 158  158          "CIFS Server Protocol",                         /* drv_linkinfo */
 159  159          &devops,
 160  160  };
 161  161  
 162  162  static struct modlinkage modlinkage = {
 163  163          MODREV_1,       /* revision of the module, must be: MODREV_1    */
 164      -        &modldrv,       /* ptr to linkage structures                    */
 165      -        NULL,
      164 +        { &modldrv, NULL }      /* ptr to linkage structures            */
 166  165  };
 167  166  
 168  167  static dev_info_t *smb_drv_dip = NULL;
 169  168  
 170  169  /*
 171  170   * ****************************************************************************
 172  171   *                                  Module Interface
 173  172   * ****************************************************************************
 174  173   */
 175  174  
↓ open down ↓ 218 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX