aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firmware
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2025-01-23 12:49:41 +0000
committerAndrew Turner <andrew@FreeBSD.org>2025-01-23 17:26:26 +0000
commitf0216239492579022982d94e04090f1333fee5a5 (patch)
treefd2013fe622e224aa5cc552bf4bff0018397f47d /sys/dev/firmware
parent9342829d578e26f10a5cbc26e2b9e66cfd9864c4 (diff)
Diffstat (limited to 'sys/dev/firmware')
-rw-r--r--sys/dev/firmware/arm/scmi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firmware/arm/scmi.h b/sys/dev/firmware/arm/scmi.h
index 5ad7b0db3f5f..73b49f099ad8 100644
--- a/sys/dev/firmware/arm/scmi.h
+++ b/sys/dev/firmware/arm/scmi.h
@@ -36,8 +36,8 @@
#define SCMI_MAX_MSG 32
#define SCMI_MAX_MSG_PAYLD_SIZE 128
-#define SCMI_MAX_MSG_REPLY_SIZE (SCMI_MAX_MSG_PAYLD_SIZE - sizeof(uint32_t))
-#define SCMI_MAX_MSG_SIZE (SCMI_MAX_MSG_PAYLD_SIZE + sizeof(uint32_t))
+#define SCMI_MAX_MSG_REPLY_SIZE (SCMI_MAX_MSG_PAYLD_SIZE + sizeof(uint32_t))
+#define SCMI_MAX_MSG_SIZE (SCMI_MAX_MSG_REPLY_SIZE + sizeof(uint32_t))
enum scmi_chan {
SCMI_CHAN_A2P,