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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ib/clients/rds/rds_opt.c
          +++ new/usr/src/uts/common/io/ib/clients/rds/rds_opt.c
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22   * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright (c) 1990 Mentat Inc.
  24   24   */
  25   25  
  26   26  #include <sys/ib/clients/rds/rds.h>
  27   27  #include <inet/proto_set.h>
  28   28  
  29   29  #define rds_max_buf 2097152
  30   30  opdes_t rds_opt_arr[] = {
  31   31  
  32      -{ SO_TYPE,      SOL_SOCKET, OA_R, OA_R, OP_NP, 0, sizeof (int), 0 },
  33      -{ SO_SNDBUF,    SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
  34      -{ SO_RCVBUF,    SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
       32 +{ SO_TYPE,      SOL_SOCKET, OA_R, OA_R, OP_NP, 0, sizeof (int), {0} },
       33 +{ SO_SNDBUF,    SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), {0} },
       34 +{ SO_RCVBUF,    SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), {0} },
  35   35  };
  36   36  
  37   37  /* ARGSUSED */
  38   38  int
  39   39  rds_opt_default(queue_t *q, t_scalar_t level, t_scalar_t name, uchar_t *ptr)
  40   40  {
  41   41          /* no default value processed by protocol specific code currently */
  42   42          return (-1);
  43   43  }
  44   44  
↓ open down ↓ 149 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX