Blame SOURCES/0003-xlat-fix-typo-in-smc_protocols.in.patch

4d44fe
From 1422eda187f936e576b17a3e0036b1c1c3476fc4 Mon Sep 17 00:00:00 2001
4d44fe
From: Eugene Syromyatnikov <evgsyr@gmail.com>
4d44fe
Date: Sun, 19 Aug 2018 21:51:15 +0200
4d44fe
Subject: [PATCH 03/27] xlat: fix typo in smc_protocols.in
4d44fe
4d44fe
* xlat/smc_protocols.in: s/^MCPROTO_SMC/SMCPROTO_SMC/.
4d44fe
4d44fe
Additional changes:
4d44fe
	Updated aut-generated xlat/smc_protocols.h
4d44fe
4d44fe
---
4d44fe
 xlat/smc_protocols.in | 2 +-
4d44fe
 1 file changed, 1 insertion(+), 1 deletion(-)
4d44fe
4d44fe
Index: strace-4.24/xlat/smc_protocols.in
4d44fe
===================================================================
4d44fe
--- strace-4.24.orig/xlat/smc_protocols.in	2018-05-08 22:59:20.000000000 +0200
4d44fe
+++ strace-4.24/xlat/smc_protocols.in	2019-03-10 05:08:53.367748788 +0100
4d44fe
@@ -1,3 +1,3 @@
4d44fe
 #value_indexed
4d44fe
-MCPROTO_SMC	0
4d44fe
+SMCPROTO_SMC	0
4d44fe
 SMCPROTO_SMC6	1
4d44fe
Index: strace-4.24/xlat/smc_protocols.h
4d44fe
===================================================================
4d44fe
--- strace-4.24.orig/xlat/smc_protocols.h	2018-08-14 02:44:23.000000000 +0200
4d44fe
+++ strace-4.24/xlat/smc_protocols.h	2019-03-10 05:09:36.010321779 +0100
4d44fe
@@ -3,12 +3,12 @@
4d44fe
 #include "gcc_compat.h"
4d44fe
 #include "static_assert.h"
4d44fe
 
4d44fe
-#if defined(MCPROTO_SMC) || (defined(HAVE_DECL_MCPROTO_SMC) && HAVE_DECL_MCPROTO_SMC)
4d44fe
+#if defined(SMCPROTO_SMC) || (defined(HAVE_DECL_SMCPROTO_SMC) && HAVE_DECL_SMCPROTO_SMC)
4d44fe
 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
4d44fe
-static_assert((MCPROTO_SMC) == (0), "MCPROTO_SMC != 0");
4d44fe
+static_assert((SMCPROTO_SMC) == (0), "SMCPROTO_SMC != 0");
4d44fe
 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
4d44fe
 #else
4d44fe
-# define MCPROTO_SMC 0
4d44fe
+# define SMCPROTO_SMC 0
4d44fe
 #endif
4d44fe
 #if defined(SMCPROTO_SMC6) || (defined(HAVE_DECL_SMCPROTO_SMC6) && HAVE_DECL_SMCPROTO_SMC6)
4d44fe
 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
4d44fe
@@ -28,7 +28,7 @@
4d44fe
 
4d44fe
 static
4d44fe
 const struct xlat smc_protocols[] = {
4d44fe
- [MCPROTO_SMC] = XLAT(MCPROTO_SMC),
4d44fe
+ [SMCPROTO_SMC] = XLAT(SMCPROTO_SMC),
4d44fe
  [SMCPROTO_SMC6] = XLAT(SMCPROTO_SMC6),
4d44fe
  XLAT_END
4d44fe
 };