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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/smbclnt/netsmb/smb_dev.c
          +++ new/usr/src/uts/common/fs/smbclnt/netsmb/smb_dev.c
↓ open down ↓ 148 lines elided ↑ open up ↑
 149  149   */
 150  150  
 151  151  static struct modldrv nsmb_modldrv = {
 152  152          &mod_driverops,                         /* Driver module */
 153  153          "SMBFS network driver",
 154  154          &nsmb_ops                               /* Driver ops */
 155  155  };
 156  156  
 157  157  static struct modlinkage nsmb_modlinkage = {
 158  158          MODREV_1,
 159      -        (void *)&nsmb_modldrv,
 160      -        NULL
      159 +        { (void *)&nsmb_modldrv, NULL }
 161  160  };
 162  161  
 163  162  int
 164  163  _init(void)
 165  164  {
 166  165          int error;
 167  166  
 168  167          (void) ddi_soft_state_init(&statep, sizeof (smb_dev_t), 1);
 169  168  
 170  169          /* Can initialize some mutexes also. */
↓ open down ↓ 479 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX