OSM_SA_METHOD_STR_UNKNOWN_VAL refers to ib_sa_method_str[].
Moving it closer to the array.

Signed-off-by: Yevgeny Kliteynik <[email protected]>
---
 opensm/opensm/osm_helper.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opensm/opensm/osm_helper.c b/opensm/opensm/osm_helper.c
index 0233e70..58bc86b 100644
--- a/opensm/opensm/osm_helper.c
+++ b/opensm/opensm/osm_helper.c
@@ -84,6 +84,8 @@ static const char *ib_sa_method_str[] = {
        "UNKNOWN"               /* 16 */
 };

+#define OSM_SA_METHOD_STR_UNKNOWN_VAL 0x16
+
 static const char *ib_sa_resp_method_str[] = {
        "RESERVED",             /* 80 */
        "SubnAdmGetResp",       /* 81 */
@@ -110,8 +112,6 @@ static const char *ib_sa_resp_method_str[] = {
        "UNKNOWN"
 };

-#define OSM_SA_METHOD_STR_UNKNOWN_VAL 0x16
-
 static const char *ib_sm_method_str[] = {
        "RESERVED0",            /* 0 */
        "SubnGet",              /* 1 */
-- 
1.6.2.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to