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

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