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


  84 ibt_async_handler_t ibtl_cm_async_handler;
  85 ibt_async_handler_t ibtl_dm_async_handler;
  86 ibt_async_handler_t ibtl_ibma_async_handler;
  87 void    *ibtl_cm_clnt_private;
  88 void    *ibtl_dm_clnt_private;
  89 void    *ibtl_ibma_clnt_private;
  90 
  91 extern int ib_hw_status;
  92 _NOTE(SCHEME_PROTECTS_DATA("Scheme protects data", ib_hw_status))
  93 
  94 /*
  95  * Misc Module Declarations.
  96  */
  97 extern struct mod_ops mod_miscops;
  98 static struct modlmisc modlmisc = {
  99         &mod_miscops,                       /* Type of module - misc. */
 100         "IB Transport Layer"            /* Name of the Module. */
 101 };
 102 
 103 static struct modlinkage modlinkage = {
 104         MODREV_1, (void *)&modlmisc, NULL
 105 };
 106 
 107 static void ibtl_kstat_init(ibtl_hca_devinfo_t *);
 108 static void ibtl_kstat_fini(ibtl_hca_devinfo_t *);
 109 static void ibtl_kstat_stats_create(ibtl_hca_devinfo_t *, uint_t);
 110 static void ibtl_kstat_pkeys_create(ibtl_hca_devinfo_t *, uint_t);
 111 
 112 extern kmutex_t ibtl_part_attr_mutex;
 113 
 114 /*
 115  * IBTF Loadable Module Routines.
 116  */
 117 
 118 int
 119 _init(void)
 120 {
 121         int rval;
 122 
 123         if ((rval = mod_install(&modlinkage)) != 0)
 124                 return (rval);




  84 ibt_async_handler_t ibtl_cm_async_handler;
  85 ibt_async_handler_t ibtl_dm_async_handler;
  86 ibt_async_handler_t ibtl_ibma_async_handler;
  87 void    *ibtl_cm_clnt_private;
  88 void    *ibtl_dm_clnt_private;
  89 void    *ibtl_ibma_clnt_private;
  90 
  91 extern int ib_hw_status;
  92 _NOTE(SCHEME_PROTECTS_DATA("Scheme protects data", ib_hw_status))
  93 
  94 /*
  95  * Misc Module Declarations.
  96  */
  97 extern struct mod_ops mod_miscops;
  98 static struct modlmisc modlmisc = {
  99         &mod_miscops,                       /* Type of module - misc. */
 100         "IB Transport Layer"            /* Name of the Module. */
 101 };
 102 
 103 static struct modlinkage modlinkage = {
 104         MODREV_1, { (void *)&modlmisc, NULL }
 105 };
 106 
 107 static void ibtl_kstat_init(ibtl_hca_devinfo_t *);
 108 static void ibtl_kstat_fini(ibtl_hca_devinfo_t *);
 109 static void ibtl_kstat_stats_create(ibtl_hca_devinfo_t *, uint_t);
 110 static void ibtl_kstat_pkeys_create(ibtl_hca_devinfo_t *, uint_t);
 111 
 112 extern kmutex_t ibtl_part_attr_mutex;
 113 
 114 /*
 115  * IBTF Loadable Module Routines.
 116  */
 117 
 118 int
 119 _init(void)
 120 {
 121         int rval;
 122 
 123         if ((rval = mod_install(&modlinkage)) != 0)
 124                 return (rval);