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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/avs/ns/sdbc/sd_conf.c
          +++ new/usr/src/uts/common/avs/ns/sdbc/sd_conf.c
↓ open down ↓ 73 lines elided ↑ open up ↑
  74   74  volatile int _sd_cache_dem_cnt;
  75   75  
  76   76  #if !defined(m88k) || defined(lint)
  77   77  volatile int _sd_cache_initialized;
  78   78  #endif
  79   79  
  80   80  static blind_t sdbc_power;
  81   81  
  82   82  static
  83   83  nsc_def_t _sdbc_power_def[] = {
  84      -        "Power_Lost",   (uintptr_t)_sdbc_power_lost,    0,
  85      -        "Power_OK",     (uintptr_t)_sdbc_power_ok,      0,
  86      -        "Power_Down",   (uintptr_t)_sdbc_power_down,    0,
  87      -        0,              0,              0
       84 +        { "Power_Lost", (uintptr_t)_sdbc_power_lost,    0 },
       85 +        { "Power_OK",   (uintptr_t)_sdbc_power_ok,      0 },
       86 +        { "Power_Down", (uintptr_t)_sdbc_power_down,    0 },
       87 +        { NULL,         (uintptr_t)NULL,                0 }
  88   88  };
  89   89  
  90   90  /*
  91   91   * Forward declare all statics that are used before defined to enforce
  92   92   * parameter checking
  93   93   * Some (if not all) of these could be removed if the code were reordered
  94   94   */
  95   95  
  96   96  int _sd_fill_pattern(caddr_t addr, uint_t pat, uint_t size);
  97   97  static void _sdbc_nodeid_deconfigure(void);
↓ open down ↓ 742 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX