From 1f68512f188450e15d98ba85728ac18f3069908b Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 16 Aug 2017 10:05:06 +0100 Subject: [PATCH] Revert "plugins/amt: Fix compilation on Jessie machine; UUID_LE is not const" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1a5c7f6fe576df2c46779a58d8cbdf75bcc62cd1. The warning is obviously complaining that the value cannot be evaluated at compile time, rather than that it’s being assigned to a const storage location. --- plugins/amt/fu-plugin-amt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/amt/fu-plugin-amt.c b/plugins/amt/fu-plugin-amt.c index cdcc4ea30..15362c742 100644 --- a/plugins/amt/fu-plugin-amt.c +++ b/plugins/amt/fu-plugin-amt.c @@ -235,7 +235,7 @@ struct amt_host_if_resp_header { guchar data[0]; } __attribute__((packed)); -uuid_le MEI_IAMTHIF = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, \ +const uuid_le MEI_IAMTHIF = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, \ 0xac, 0xa8, 0x46, 0xe0, 0xff, 0x65, 0x81, 0x4c); #define AMT_HOST_IF_CODE_VERSIONS_REQUEST 0x0400001A