Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 693,703 ****
"SCSI tape Driver", /* Name of the module. */
&st_ops /* driver ops */
};
static struct modlinkage modlinkage = {
! MODREV_1, &modldrv, NULL
};
/*
* Notes on Post Reset Behavior in the tape driver:
*
--- 693,703 ----
"SCSI tape Driver", /* Name of the module. */
&st_ops /* driver ops */
};
static struct modlinkage modlinkage = {
! MODREV_1, { &modldrv, NULL }
};
/*
* Notes on Post Reset Behavior in the tape driver:
*
*** 1962,1985 ****
char *name;
} conf_limit;
static const conf_limit conf_limits[] = {
! -1, 1, 2, "conf version",
! -1, MT_ISTS, ST_LAST_TYPE, "drive type",
! -1, 0, 0xffffff, "block size",
! ST_VALID_OPTS, 0, ST_VALID_OPTS, "options",
! -1, 0, 4, "number of densities",
! -1, 0, UINT8_MAX, "density code",
! -1, 0, 3, "default density",
! -1, 0, UINT16_MAX, "non motion timeout",
! -1, 0, UINT16_MAX, "I/O timeout",
! -1, 0, UINT16_MAX, "space timeout",
! -1, 0, UINT16_MAX, "load timeout",
! -1, 0, UINT16_MAX, "unload timeout",
! -1, 0, UINT16_MAX, "erase timeout",
! 0, 0, 0, NULL
};
static int
st_validate_conf_data(struct scsi_tape *un, int *list, int list_len,
const char *conf_name)
--- 1962,1985 ----
char *name;
} conf_limit;
static const conf_limit conf_limits[] = {
! { -1, 1, 2, "conf version" },
! { -1, MT_ISTS, ST_LAST_TYPE, "drive type" },
! { -1, 0, 0xffffff, "block size" },
! { ST_VALID_OPTS, 0, ST_VALID_OPTS, "options" },
! { -1, 0, 4, "number of densities" },
! { -1, 0, UINT8_MAX, "density code" },
! { -1, 0, 3, "default density" },
! { -1, 0, UINT16_MAX, "non motion timeout" },
! { -1, 0, UINT16_MAX, "I/O timeout" },
! { -1, 0, UINT16_MAX, "space timeout" },
! { -1, 0, UINT16_MAX, "load timeout" },
! { -1, 0, UINT16_MAX, "unload timeout" },
! { -1, 0, UINT16_MAX, "erase timeout" },
! { 0, 0, 0, NULL }
};
static int
st_validate_conf_data(struct scsi_tape *un, int *list, int list_len,
const char *conf_name)