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/usbms/usbms.c
          +++ new/usr/src/uts/common/io/usb/clients/usbms/usbms.c
↓ open down ↓ 56 lines elided ↑ open up ↑
  57   57   * Module linkage information for the kernel.
  58   58   */
  59   59  static struct modlstrmod modlstrmod = {
  60   60          &mod_strmodops,
  61   61          "USB mouse streams",
  62   62          &fsw
  63   63  };
  64   64  
  65   65  static struct modlinkage modlinkage = {
  66   66          MODREV_1,
  67      -        (void *)&modlstrmod,
  68      -        NULL
       67 +        { (void *)&modlstrmod, NULL }
  69   68  };
  70   69  
  71   70  
  72   71  int
  73   72  _init(void)
  74   73  {
  75   74          int rval = mod_install(&modlinkage);
  76   75  
  77   76          if (rval == 0) {
  78   77                  usbms_log_handle = usb_alloc_log_hdl(NULL, "usbms",
↓ open down ↓ 2345 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX