From acaa71332161c7af025af7b5e73ba0ff773be3a8 Mon Sep 17 00:00:00 2001 From: "da Cunha, Leonardo" Date: Tue, 31 Jan 2023 16:09:51 -0800 Subject: [PATCH] plugins/ocp: Use network byte order for OCP UUID value The initialization of the OCP UUID needs to be in network byte order. --- plugins/ocp/ocp-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ocp/ocp-utils.c b/plugins/ocp/ocp-utils.c index 9294c05d..34b212ba 100644 --- a/plugins/ocp/ocp-utils.c +++ b/plugins/ocp/ocp-utils.c @@ -8,8 +8,8 @@ #include "ocp-utils.h" const unsigned char ocp_uuid[NVME_UUID_LEN] = { - 0x6f, 0xbe, 0x56, 0x8f, 0x99, 0x29, 0x1d, 0xa2, 0x94, 0x47, - 0x94, 0xe0, 0x5b, 0xd5, 0x94, 0xc1 }; + 0xc1, 0x94, 0xd5, 0x5b, 0xe0, 0x94, 0x47, 0x94, 0xa2, 0x1d, + 0x29, 0x99, 0x8f, 0x56, 0xbe, 0x6f }; int ocp_get_uuid_index(struct nvme_dev *dev, int *index) { -- 2.50.1