summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/nvmutil/nvmutil.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 71fe7123..f1e2c6f7 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -608,6 +608,13 @@ good_checksum(int partnum)
return 0;
}
+/*
+ * NOTE: memcpy is a bit sticky with host endianness,
+ * but we currently use it only when swap has
+ * been handled. just be careful about when the
+ * swap() function is called.
+ */
+
static uint16_t
word(int pos16, int p)
{