svn commit: r288802 - stable/10/sys/cam/ctl
Alexander Motin
mav at FreeBSD.org
Mon Oct 5 11:05:05 UTC 2015
Author: mav
Date: Mon Oct 5 11:05:04 2015
New Revision: 288802
URL: https://svnweb.freebsd.org/changeset/base/288802
Log:
MFC r288224: Constify ctl_serialize_table.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/sys/cam/ctl/ctl_ser_table.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cam/ctl/ctl.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl.c Mon Oct 5 11:04:13 2015 (r288801)
+++ stable/10/sys/cam/ctl/ctl.c Mon Oct 5 11:05:04 2015 (r288802)
@@ -10778,7 +10778,7 @@ ctl_check_for_blockage(struct ctl_lun *l
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
Modified: stable/10/sys/cam/ctl/ctl_ser_table.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl_ser_table.c Mon Oct 5 11:04:13 2015 (r288801)
+++ stable/10/sys/cam/ctl/ctl_ser_table.c Mon Oct 5 11:05:04 2015 (r288802)
@@ -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},
More information about the svn-src-stable-10
mailing list