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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/scsi/impl/scsi_data.c
          +++ new/usr/src/uts/common/io/scsi/impl/scsi_data.c
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  /*
  30   28   * Global SCSI data
  31   29   */
  32   30  
  33   31  #include <sys/scsi/scsi.h>
  34   32  #include <sys/cdio.h>                   /* CDROM SCMD_ commands */
  35   33  
  36   34  char *sense_keys[NUM_SENSE_KEYS + NUM_IMPL_SENSE_KEYS] = {
  37   35                                          /* ==== SCSI Standard Keys */
  38   36          "No_Additional_Sense",          /* 0x00 KEY_NO_SENSE */
↓ open down ↓ 42 lines elided ↑ open up ↑
  81   79          CDB_GROUP7      /* Group 7,  ? byte cdb (vendor specific) */
  82   80  };
  83   81  
  84   82  /*
  85   83   * Basic SCSI command description strings that can be used by drivers
  86   84   * to pass to scsi_errmsg().
  87   85   */
  88   86  struct scsi_key_strings scsi_cmds[] = {
  89   87          SCSI_CMDS_KEY_STRINGS,
  90   88          SCSI_CMDS_KEY_STRINGS_CDIO,
  91      -        -1,                     NULL
       89 +        { -1,                   NULL }
  92   90  };
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX