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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fw.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fw.c
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37      sizeof (emlxs_firmware_t);
  38   38  char emlxs_fw_mod_name[] = EMLXS_FW_NAME;
  39   39  
  40   40  static struct modlmisc emlxs_modlmisc = {
  41   41          &mod_miscops,
  42   42          emlxs_fw_mod_name
  43   43  };
  44   44  
  45   45  static struct modlinkage emlxs_modlinkage = {
  46   46          MODREV_1,
  47      -        (void *)&emlxs_modlmisc,
  48      -        NULL
       47 +        { (void *)&emlxs_modlmisc, NULL }
  49   48  };
  50   49  
  51   50  int
  52   51  _init(void)
  53   52  {
  54   53          int rval;
  55   54  
  56   55          rval = mod_install(&emlxs_modlinkage);
  57   56  
  58   57          return (rval);
↓ open down ↓ 56 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX