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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
          +++ new/usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50   * modload support
  51   51   */
  52   52  extern struct mod_ops mod_miscops;
  53   53  
  54   54  static struct modlmisc modlmisc = {
  55   55          &mod_miscops,   /* Type of module */
  56   56          "HID Parser"
  57   57  };
  58   58  
  59   59  static struct modlinkage modlinkage = {
  60      -        MODREV_1, (void *)&modlmisc, NULL
       60 +        MODREV_1, { (void *)&modlmisc, NULL }
  61   61  };
  62   62  
  63   63  int
  64   64  _init(void)
  65   65  {
  66   66          int rval = mod_install(&modlinkage);
  67   67  
  68   68          if (rval == 0) {
  69   69                  hparser_log_handle = usb_alloc_log_hdl(NULL, "hidparser",
  70   70                      &hparser_errlevel, &hparser_errmask, NULL, 0);
↓ open down ↓ 2988 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX