Constify ctl_serialize_table.

This commit is contained in:
Alexander Motin 2015-09-25 18:49:25 +00:00
parent 2f1c4e0ebf
commit 5d4dfee032
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288224
2 changed files with 2 additions and 2 deletions

View file

@ -10776,7 +10776,7 @@ ctl_check_for_blockage(struct ctl_lun *lun, union ctl_io *pending_io,
union ctl_io *ooa_io)
{
const struct ctl_cmd_entry *pending_entry, *ooa_entry;
ctl_serialize_action *serialize_row;
const ctl_serialize_action *serialize_row;
/*
* The initiator attempted multiple untagged commands at the same

View file

@ -61,7 +61,7 @@
#define xO CTL_SER_EXTENTOPT /* Optional extent check */
#define xS CTL_SER_EXTENTSEQ /* Sequential extent check */
static ctl_serialize_action
const static ctl_serialize_action
ctl_serialize_table[CTL_SERIDX_COUNT][CTL_SERIDX_COUNT] = {
/**>IDX_ :: 2nd:TUR RD WRT UNM SYN MDSN MDSL RQSN INQ RDCP RES LSNS FMT STR*/
/*TUR */{ pS, pS, pS, pS, pS, bK, bK, bK, pS, pS, bK, pS, bK, bK},