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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/drm/drm_sunmod.c
          +++ new/usr/src/uts/common/io/drm/drm_sunmod.c
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  #include "drm_sunmod.h"
  37   37  #include <sys/modctl.h>
  38   38  #include <sys/kmem.h>
  39   39  #include <vm/seg_kmem.h>
  40   40  
  41   41  static struct modlmisc modlmisc = {
  42   42          &mod_miscops, "DRM common interfaces"
  43   43  };
  44   44  
  45   45  static struct modlinkage modlinkage = {
  46      -        MODREV_1, (void *)&modlmisc, NULL
       46 +        MODREV_1, { (void *)&modlmisc, NULL }
  47   47  };
  48   48  
  49   49  static drm_inst_list_t  *drm_inst_head;
  50   50  static kmutex_t drm_inst_list_lock;
  51   51  
  52   52  static int drm_sun_open(dev_t *, int, int, cred_t *);
  53   53  static int drm_sun_close(dev_t, int, int, cred_t *);
  54   54  static int drm_sun_ioctl(dev_t, int, intptr_t, int, cred_t *, int *);
  55   55  static int drm_sun_devmap(dev_t, devmap_cookie_t, offset_t, size_t,
  56   56      size_t *, uint_t);
↓ open down ↓ 954 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX