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/qlge/qlge.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  #include <netinet/ip6.h>
  33   33  #include <netinet/tcp.h>
  34   34  #include <netinet/udp.h>
  35   35  #include <inet/ip.h>
  36   36  
  37   37  
  38   38  
  39   39  /*
  40   40   * Local variables
  41   41   */
  42      -static struct ether_addr ql_ether_broadcast_addr =
  43      -        {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
       42 +static struct ether_addr ql_ether_broadcast_addr = {
       43 +        {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}};
  44   44  static char version[] = "GLDv3 QLogic 81XX " VERSIONSTR;
  45   45  
  46   46  /*
  47   47   * Local function prototypes
  48   48   */
  49   49  static void ql_free_resources(qlge_t *);
  50   50  static void ql_fini_kstats(qlge_t *);
  51   51  static uint32_t ql_get_link_state(qlge_t *);
  52   52  static void ql_read_conf(qlge_t *);
  53   53  static int ql_alloc_phys(dev_info_t *, ddi_dma_handle_t *,
↓ open down ↓ 7969 lines elided ↑ open up ↑
8023 8023   * Loadable Driver Interface Structures.
8024 8024   * Declare and initialize the module configuration section...
8025 8025   */
8026 8026  static struct modldrv modldrv = {
8027 8027          &mod_driverops,         /* type of module: driver */
8028 8028          version,                /* name of module */
8029 8029          &ql_ops                 /* driver dev_ops */
8030 8030  };
8031 8031  
8032 8032  static struct modlinkage modlinkage = {
8033      -        MODREV_1,       &modldrv,       NULL
     8033 +        MODREV_1,       { &modldrv, NULL }
8034 8034  };
8035 8035  
8036 8036  /*
8037 8037   * Loadable Module Routines
8038 8038   */
8039 8039  
8040 8040  /*
8041 8041   * _init
8042 8042   * Initializes a loadable module. It is called before any other
8043 8043   * routine in a loadable module.
↓ open down ↓ 47 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX